OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   XML/EBNF and attribute types. was Re: [xml-dev] XSLT and XQuery

[ Lists Home | Date Index | Thread Index ]

> (Incidentally the common XML source represents the grammatical productions
> in such a way that a JavaCC parser can be automatically generated using an
> XSLT stylesheet, and this JavaCC parser has been used to test the examples
> in both documents).
> Mike Kay

Curious, does the common XML source look something like XSet's production
rule language [1]. Looking at the RELAXNGCC parser generator respiked my
interest in using XSLT to generate things like JavaCC grammars.

Indeed to the extent that an XML 'complex type' is essentially a regular XML
expressions, and that simple types are essentially regular string
expressions, I've thought it would be interesting to further develop the
XML/EBNF stuff so that it might be suitable for expressing attribute 'types'
and subtypes of element PCDATA, etc.


[1] http://www.openhealth.org/XSet/ ?


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

Copyright 2001 XML.org. This site is hosted by OASIS