Re: Please stop writing specifications that cannot be parsed/processed by software
Tony Graham <[email protected]> Fri, 26 May 2023 08:26:13 +0100
| Newsgroups | gmane.text.xml.devel |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] [1] https://github.com/AntennaHouse/focheck _______________________________________________________________________ XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting. [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: [email protected] subscribe: [email protected] List archive: http://lists.xml.org/archives/xml-dev/ List Guidelines: http://www.oasis-open.org/maillists/guidelines.php