[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RELAX NG: Are Grammar Elements Always Required to Contain

  • From: "Radu Cernuta" <radu.cernuta@g...>
  • To: "Rudick, Tom" <tmrudick@m...>
  • Date: Wed, 19 Sep 2007 19:54:06 +0200

Re:  RELAX NG: Are Grammar Elements Always Required to Contain
Hi,

Take a look at section 4.7: "If include element has a start component, then the grammar element must have a start component".

Greetings,
Radu Cernuta



2007/9/19, Rudick, Tom <tmrudick@m...>:
Hello All,
 
I am somewhat new to RELAX NG and just starting to get my feet wet with more complex topics.  I am trying to create a "modular" schema by making use of the <include> element.  I have followed the schemas used in the RELAX NG Tutorial (http://www.oasis-open.org/committees/relax-ng/tutorial.html) in section 9.3 to merge grammars using the <include> element.
 
However, both my current editor (OxygenXML) and jing, tell me that the document to be included is 'missing "start" element' and that it is invalid.  I have noticed that in section 4.18 of the RELAX NG Specification (http://www.oasis-open.org/committees/relax-ng/spec-20011203.html#IDASNZR) is stated, "A grammar must have a start child element." 
 
Does this mean that I cannot correctly create a schema that does not have a start element, even though it is to be included in another schema?  Or am I interpreting section 4.18 incorrectly?
 
Thanks in advance,
-Tom Rudick



[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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.