[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
- From: Tony Graham <tgraham@antenna.co.jp>
- To: xml-dev@lists.xml.org
- Date: Fri, 26 May 2023 08:26:13 +0100
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]