Commit 8371601e authored by stancakapost's avatar stancakapost
Browse files

fixed test by removing all references to namespaces

combined schemas for easying the testing
parent 2cbcb1df
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
This test cases uses a special XML Schema for validation due to problems in Xerces-J with loading several schema documents for a single namespace.

The schema documents Pos_050101_namespaces_004.xsd and Pos_050101_namespaces_004_1.xsd were merged manually. The resulting XSD was saved as test_data/Pos_050101_namespaces_004_merged.xsd .

Any changes in the original schema documents mus be reflected in test_data/Pos_050101_namespaces_004_merged.xsd .
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<MyType xmlns="schema:Pos_050101_namespaces_004">4</MyType>
<MyType>4</MyType>
+2 −3
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
  xmlns:ns1="schema:Pos_050101_namespaces_004">
  <element name="MyType" type="integer"/>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
  <element name="MyType2" type="integer"/>
</schema>
+1 −2
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
  xmlns:ns2="schema:Pos_050101_namespaces_004">
<schema xmlns="http://www.w3.org/2001/XMLSchema">
  <element name="MyType" type="integer"/>
</schema>
 No newline at end of file
+5 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
  <element name="MyType" type="integer"/>
  <element name="MyType2" type="integer"/>
</schema>