- From: Jirka Kosek <jirka@kosek.cz>
- Date: Thu, 28 Jan 2010 11:12:11 +0100
- To: "Grosso, Paul" <pgrosso@ptc.com>
- CC: public-xml-core-wg@w3.org
- Message-ID: <4B6162FB.80208@kosek.cz>
Grosso, Paul wrote: >> ACTION to others in the WG: Review and comment on the xml-model draft >> at >> http://www.w3.org/XML/Group/2010/01/xml-model/ > > We had some discussion that the "type" pseudo-attribute isn't good > enough for determining the language of the schema, and that we should > add an attribute to aid this determination. I'm aware of this, but I don't think it is real problem and that adding additional pseudo-attribute would solve this. Let me explain. We are in the web space where resources are identified by media types. As majority of schema languages are represented in XML and don't have specific media type, they use application/xml. But this is fine, xml-processor can fetch this resource and from the namespace of root element determine whether schema is W3C XML Schema, RELAX NG schema, Schematron schema or whatever. This mechanism would fail only for non-XML syntaxes like RELAX NG compact syntax, but those formats have their own media type. One can argue that it is quite strange to request access to resource in order to determine its content. But in reality most documents will use just one xml-model processing instruction so the cost of such check will be small. Moreover NVDL schema language uses the exactly same approach of specifying type of schema only using media types and to my knowledge no one reported this as a problem. Personally I would wait and gather experience from early implementers first to see whether this is really issue. As to adding new dedicated attribute -- what was ideas about its content? Namespace of the schema language used? > ACTION to Jirka: Ensure that SC34 is aware of the public draft and help > them review it and convey their comments back to us. OK, I will do this. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
Received on Thursday, 28 January 2010 10:12:52 UTC