← Prev in month ← Prev in thread

XML Schema 1.0 and Relax NG Only Partially Support Context-Free Grammars

From
Costello, Roger L. <>
To
"" <>
Date
2014-01-01T17:39:00Z
ID
<>
Thread
XML Schema 1.0 and Relax NG Only Partially Support Context-Free Grammars
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
← Prev in month ← Prev in thread