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

Re: XML Schema and EBNF

From: Pete Cordell <petexmldev@codalogic.com>
Date: Fri, 6 Jun 2008 16:37:46 +0100
Message-ID: <000c01c8c7eb$47c601a0$ea00a8c0@Codalogic>
To: "Suresh Joshee" <sjoshee@gmail.com>
Cc: <xmlschema-dev@w3.org>

Hi Suresh,

I'm afraid I don't know much (well, anything!) about Z notations, so I'm not 
able to make any suggestions.  Sorry about that!

Good luck with the project.

Pete Cordell
Codalogic
For XML C++ data binding visit http://www.codalogic.com/lmx/

----- Original Message ----- 
From: "Suresh Joshee" <sjoshee@gmail.com>
To: "Pete Cordell" <petexmldev@codalogic.com>
Cc: <xmlschema-dev@w3.org>
Sent: Thursday, June 05, 2008 6:56 PM
Subject: Re: XML Schema and EBNF


> 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 Friday, 6 June 2008 15:38:36 UTC

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