forked from xmlet/XsdParser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2b60c8
commit c20217b
Showing
4 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<schema xmlns="http://www.w3.org/2001/XMLSchema" | ||
xmlns:t="http://mytestns.org" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" | ||
targetNamespace="http://mytestns.org" | ||
> | ||
|
||
<include schemaLocation="b.xsd"/> | ||
|
||
<simpleType name="TestUnionA1"> | ||
<!-- inf. loop: time is looked up in the cyclic include --> | ||
<union memberTypes="time xsd:time"/> | ||
</simpleType> | ||
|
||
<simpleType name="TestUnionA2"> | ||
<union memberTypes="t:TestUnionA1"/> | ||
</simpleType> | ||
|
||
<element name="EA1" type="t:TestUnionA1"/> | ||
<element name="EA2" type="t:TestUnionA2"/> | ||
</schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<xsd:schema xmlns="http://mytestns.org" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" | ||
targetNamespace="http://mytestns.org" | ||
> | ||
<xsd:include schemaLocation="a.xsd"/> | ||
<xsd:include schemaLocation="b.xsd"/> | ||
|
||
<xsd:simpleType name="TestUnionB1"> | ||
<xsd:union memberTypes="TestUnionA1"/> | ||
</xsd:simpleType> | ||
|
||
<xsd:simpleType name="TestUnionB2"> | ||
<!-- inf. loop: undefined is looked up in the cyclic include --> | ||
<xsd:union memberTypes="undefined"/> | ||
</xsd:simpleType> | ||
|
||
<xsd:element name="EB1" type="TestUnionB1"/> | ||
<xsd:element name="EB2" type="TestUnionB2"/> | ||
|
||
</xsd:schema> |