Bnf / ebnf for xml schema

I am looking for BNF / EBNF XML Schema. I just found for XML ( http://www.w3.org/TR/REC-xml or checked out at http://www.jelks.nu/XML/xmlebnf.html ).

Well, this is a starting point, but I'm curious that I could not find a more specific one for the XML schema.

+2
source share
2 answers

I think because no one finds this useful, and it would be too difficult. If someone wants to define an XML language, such as XML Schema, they are likely to use XML primitives such as elements or attributes (using XML Schema, Relax NG, DTD, etc.), rather than characters. One of the reasons XML was invented is the presence of metalanguages ​​for creating other languages.

+3
source

I think the first step would be to start with xsd for XML Schema and use Colibri to generate bnf grammar.

I'll check when I get home. Colibri says:

Il s'agit lΓ  d'un premier jet que nous pourrions affiner.

But I definitely think he has the potential.

-2
source

Source: https://habr.com/ru/post/1433919/


All Articles