XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Please stop writing specifications that cannot beparsed/processed by software

On 26/05/2023 01:03, Michael Kay wrote:
no-one has to invent something new to get what you are asking for
But if you're prepared to invent something new then you can probably do better...

For example, the XPath function library is defined in an XML
document that contains all the function signatures in a custom
vocabulary reflecting the object model for XPath functions, and that
data is extremely useful; it can be used for example to create the
data used by a type-checker. I'm sure there are cases where an XML
format can be standardised across a wide range of specifications (for
example, a format for defining BNF grammars) but I'm sure that
highly specialised custom formats also have a role to play.
focheck [1], for validating XSL-FO documents, generates both RELAX NG
and Schematron from the XML for the XSL 1.1 Recommendation.

Long before that, the xmlroff XSL formatter generated C code from the XML.

Regards,


Tony Graham.
--
Senior Architect
XML Division
Antenna House, Inc.
----
Skerries, Ireland
tgraham@antenna.co.jp


[1] https://github.com/AntennaHouse/focheck


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS