Rick Jelliffe wrote:
[Assertion] grammars are a bad foundation
[Assertion] Schemas should be based on paths
These are two powerful assertions Rick.
Would you explain why grammar-based languages (e.g., DTD, XSD, RNG) are
a bad foundation? A grammar-based language tells an instance document
author what tags are allowed, how those tags may be arranged, and the
datatypes of the data. Isn't that what we want from a schema language?
Shouldn't that information serve as the foundation for a schema?
Also, would you explain why paths (XPaths) provide a more suitable
foundation?
Thanks.
/Roger