[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Costello, Roger L." <costello@m...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • Date: Wed, 1 Jan 2014 17:39:00 +0000

Hi Folks,

Did you know that neither XML Schema 1.0 nor Relax NG has the power to express this very simple grammar:

	The content of BookStore shall be N Book elements
	followed by N Magazine elements.

That is, BookStore must contain an equal number of Book and Magazine elements.

It's true. 

Neither XML Schema 1.0 nor Relax NG can express that basic context-free grammar. 

That's sad.

More ... http://xfront.com/XML-Schema-1-0-and-Relax-NG-Partially-Support-Context-Free-Grammars.pdf

/Roger


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member