Skip to content
Snippets Groups Projects
Commit 7742c46b authored by Brutzman, Don's avatar Brutzman, Don
Browse files

move XML Schema self-validation assets (for Ant) from validation/ to lib/validation

parent 83cad9fd
No related branches found
No related tags found
No related merge requests found
......@@ -22,8 +22,8 @@ Schema context: record Location line 52 column 18 in file:/C:/x-nps-gitlab/Robod
Schema context: header Location line 45 column 18 in file:/C:/x-nps-gitlab/Robodata/DFDL/examples/csv/csv.dfdl.xsd
[warning] Schema Definition Warning: dfdl:encodingErrorPolicy="error" is not yet implemented. The 'replace' value will be used.
Schema context: element reference ex:file Location line 35 in file:/C:/x-nps-gitlab/Robodata/DFDL/examples/csv/csv.dfdl.xsd
[info] Time (compiling): 1603ms
[info] Time (parsing): 71ms
[info] Time (compiling): 1607ms
[info] Time (parsing): 72ms
============================================
original result examples/csv/simpleCSV.xml
<?xml version="1.0" encoding="UTF-8"?>
......
......@@ -10,7 +10,7 @@
<!-- note that XSD schema validation using schemavalidate task requires special setup https://ant.apache.org/manual/Tasks/schemavalidate.html -->
<echo message="schemavalidate original schema examples/csv/csv.dfdl.xsd"/>
<schemavalidate file="examples/csv/csv.dfdl.xsd" failonerror="true" warn="true" lenient="false" fullchecking="false">
<schema namespace="http://www.w3.org/2001/XMLSchema" file="validation/XMLSchema.xsd"/>
<schema namespace="http://www.w3.org/2001/XMLSchema" file="lib/validation/XMLSchema.xsd"/>
</schemavalidate>
<echo message="... schemavalidate passed"/>
<echo message="daffodil parse csv"/>
......
File moved
File moved
File moved
File moved
......@@ -746,4 +746,4 @@ value2</E4>
</CommonXmlExample>
--------
all:
BUILD SUCCESSFUL (total time: 40 seconds)
BUILD SUCCESSFUL (total time: 39 seconds)
......@@ -90,7 +90,7 @@
<xmlvalidate file="CommonXmlElementsAttributesSchema.xsd" failonerror="false" warn="true" lenient="true"/>
<echo message="Check schema-valid input CommonXmlElementsAttributesSchema.xsd"/>
<schemavalidate file="CommonXmlElementsAttributesSchema.xsd" failonerror="true" warn="true" lenient="false" fullchecking="false">
<schema namespace="http://www.w3.org/2001/XMLSchema" file="../validation/XMLSchema.xsd"/>
<schema namespace="http://www.w3.org/2001/XMLSchema" file="../lib/validation/XMLSchema.xsd"/>
</schemavalidate>
<echo message="... schemavalidate passed"/>
<concat description="show file for build log">
......@@ -138,7 +138,7 @@
<xmlvalidate file="DaffodilXmlElementsAttributesSchema.xsd" failonerror="false" warn="true" lenient="true"/>
<echo message="Check schema-valid input DaffodilXmlElementsAttributesSchema.xsd"/>
<schemavalidate file="DaffodilXmlElementsAttributesSchema.xsd" failonerror="true" warn="true" lenient="false" fullchecking="false">
<schema namespace="http://www.w3.org/2001/XMLSchema" file="../validation/XMLSchema.xsd"/>
<schema namespace="http://www.w3.org/2001/XMLSchema" file="../lib/validation/XMLSchema.xsd"/>
</schemavalidate>
<echo message="... schemavalidate passed"/>
<concat description="show file for build log">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment