[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simple] Presence Relax NG schemas



inline.

Jari Urpalainen wrote:

On Sun, 2005-07-31 at 10:22 -0400, ext Jonathan Rosenberg wrote:

I don't have any particular views on the pros/cons of XML schema vs. relax NG. However, my concern about this is whether there is value in having TWO definitions of the grammar for these documents. It seems that this is a recipe for interoperability problems. An XML-schema-using implementation might define a document that is valid according to the schema, but invalid according to the RELAX-NG definition. That would be a problem. If that never happens, and neither can the converse (a RELAX-NG compliant document that is not schema compliant), then the RELAX-NG description is isomorphic to the XML schema, and so what is the value exactly?

-Jonathan R.

I'll agree that it is not definitely an optimal solution to have two definitions. Anyway, as you know, with the current W3C schemas you cannot express where to put e.g. some extension elements when there are many possible extension points: you could add e.g. <dm:person> element under <presence>, <tuple> and <status>. And once you add new schemas extension points just increase. However, these Relax NG schemas do not allow this ambiguity. So they follow more strictly the intention of the specs. Of course if these schemas don't correctly follow the specs, I am glad to receive fixes.

Secondly, I am aware that ietf/xml-dev had these schema tool discussions
awhile back ago. AFAIK the recommendation does not mandate to use only
W3C schemas, it just seems to be the prevailing habit. At least in this
particular case Relax NG fits better for the task, imo.

Sure, working groups should always be able to discuss XML schema vs. RELAX vs. DTD. However, that discussion is appropriate in the beginning of the cycle. The group has already chosen XML schema, and I don't believe you are proposing to change that decision. As such, I think its far more important to have a single definition of the grammar.



As Aki notes, SIMPLEt might be the best "home" for this, but the schemas
have to be available somewhere (and bug free)

XML schema definitions, sure, the IANA registry will provide that for us. I am concerned about having any home for a second, independent definition of the grammar.


-Jonathan R.
--
Jonathan D. Rosenberg, Ph.D.                   600 Lanidex Plaza
Director, Service Provider VoIP Architecture   Parsippany, NJ 07054-2711
Cisco Systems
jdrosen at cisco.com                              FAX:   (973) 952-5050
http://www.jdrosen.net                         PHONE: (973) 952-5000
http://www.cisco.com

_______________________________________________
Simple mailing list
Simple at ietf.org
https://www1.ietf.org/mailman/listinfo/simple