[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RELAX NG equivalent of <xsd:any processContents="lax">?
I took a better look and you are right, you have also crossed rule 4.6. But if you try: Test.rng: <?xml version="1.0"?> <grammar xmlns=" http://relaxng.org/ns/structure/1.0" ns="http://foo.org/bar"> <start> <ref name="children"></ref> </start> <define name="children"> <zeroOrMore> <element> <anyName> <except> <nsName/>
</except> </anyName> <ref name="children"></ref> </element>
</zeroOrMore> <externalRef href=""anythingElseButTest.rng"/><optional> <ref name="interestingElements"></ref> </optional> </define> <define name="interestingElements"> <choice> </choice> </define> </grammar> You'll see there are more mistakes in the schema. 2007/2/7, Jeff Lowery <jlowery@m...>:
I took a better look and you are right, you have also crossed rule 4.6. But if you try: Test.rng: <?xml version="1.0"?> <grammar xmlns="http://relaxng.org/ns/structure/1.0" ns="http://foo.org/bar">
<start> <ref name="children"></ref> </start> <define name="children"> <zeroOrMore> <element> <anyName> <except> <nsName/>
</except> </anyName> <ref name="children"></ref> </element> </zeroOrMore>
<externalRef href=""anythingElseButTest.rng"/><optional> <ref name="interestingElements"></ref> </optional> </define> <define name="interestingElements"> <choice> </choice> </define> </grammar> You'll see there are more mistakes in the schema.
I'm not sure I can follow. Radu Cernuta
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|