W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2008

Re: XML Schema and EBNF

From: Suresh Joshee <sjoshee@gmail.com>
Date: Thu, 5 Jun 2008 11:56:56 -0600
Message-ID: <753b545e0806051056p53b8cf69u7e0cd53664d1ede9@mail.gmail.com>
To: "Pete Cordell" <petexmldev@codalogic.com>
Cc: xmlschema-dev@w3.org
Thank you Pete,

Actually I wanted to describe mutations in XML Schema preferably using Z
notations. To describe mutations, I need  formal description of  language
preferably in BNF (EBNF). Is it good idea to use DTD for the XML Schema at
the start point and add more constraint rules that is not included in DTD
definitions.

Anybody has another approach to describe XML Schema mutations?

Thanks in advance.


Regards,
Suresh

On Thu, Jun 5, 2008 at 9:20 AM, Pete Cordell <petexmldev@codalogic.com>
wrote:

> ----- Original Message From: "Suresh Joshee" <>
>
>  Hello All,
>>
>> Is there any formal langauge to describe W3C XML Schema. I am looking sort
>> of BNF rules to describe Schema language.
>>
>
> Not really.  XML itself is defined in a BNF like syntax, and XML schema is
> an example of XML.
>
> Your question prompts me to ask why you want such a definition?  If you
> could share that it might be possible to suggest a suitable approach.
> Information on the language you want to use and the platform you want to
> run
> it on would also be helpful.  For example, if you want to check XML schemas
> via code generated using Yacc and lex, it's probably not the best approach.
>
> HTH,
>
> Pete Cordell
> Codalogic
> For XML C++ data binding visit http://www.codalogic.com/lmx/
>
>
>
Received on Thursday, 5 June 2008 17:57:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:47 UTC