Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

RE: [xml-dev] RELAX NG equivalent of ?


  • From: "Jeff Lowery" <jlowery@...>
  • To: "Radu Cernuta" <radu.cernuta@...>
  • Date: Wed, 7 Feb 2007 11:36:10 -0800

I’m sure you’re correct, however the error I get from Jing is this:

 

C:\ > java -jar \xml\jing-20030619\bin\jing.jar test.rng

C:\ > Test.rng:28:43: error: recursive inclusion of URL "file:/C:/[…]/Test.rng"

 

I now wonder: if all patterns are defined inside a containing grammar, could one except the container from a contained definition?  That way, all definitions would be excluded automatically when new ones were added to the container. Something I’ll try later…

 


From: Radu Cernuta [mailto:radu.cernuta@...]
Sent: Wednesday, February 07, 2007 1:56 AM
To: Jeff Lowery
Cc: noah_mendelsohn@...; xml-dev@...
Subject: Re: [xml-dev] RELAX NG equivalent of <xsd:any processContents="lax">?

 

Sorry, I've overlooked the <optional> element. Rule 4.12 comes first in this case and adds a <group>, then 7.15. The basic idea stays the same: you cannot have several roots in an XML document.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xml