- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 11 Sep 2007 21:15:29 +0000
- To: public-sml@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4977 ------- Comment #3 from popescu@ca.ibm.com 2007-09-11 21:15 ------- I think that if we have to take the floor/ceiling approach for the Schematron spec, then we should refer to [ISO/IEC 19757-3] ( which is the schematron spec referenced by the SML document ) and not make any specific references to the query language used to define the schematron rules ( simple XPath, XSLT, XQuery, and probably others to come ). I see two options here : 1. Refer to the Schematron [ISO/IEC 19757-3] as the floor; the normative requirements for the query languages are the responsibility of the Schemtron spec itself. If I read this section from the schematron spec the right way, then it seems that Schematron refers to XML1.0, XPath1.0 and XSLT1.0 as the floor: 'Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. NOTE Each of the following documents has a unique identifier that is used to cite the document in the text. The unique identifier consists of the part of the reference up to the first comma. W3C XML 1.0, Extensible Markup Language (XML) 1.0 (Third Edition), W3C Recommendation, 04 February 2004 XPath, XML Path Language (XPath) Version 1.0, W3C Recommendation, 16 November 1999 XSLT, XSL Transformations (XSLT) Version 1.0, W3C Recommendation, 16 November 1999' 2. Consciously define a floor that includes a Schematron version AND the query language. I would not suggest this approach unless the group has concrete requirements to support specific sets of XPath extensions ( such as XSLT 1.0, 2.0, XQuery) the schematron should use. We may need to restrict the use of the query bindings in an IF document so that we can have interop. I did not investigate this in much detail but at a minimum I think IF should require the same type of rule query bindings for all of the schematron rules packaged by that document. Side notes for this discussion : Note that the Schematron is defined in the spec as having a default query language: 'NOTE 1 Schematron is defined as a framework, with a default query language binding, but other query language bindings are possible.' The default query language is set to ‘xslt’ when queryBinding="xslt" or the queryBinding attribute is not specified; the Default Query Language Binding, normative Annex C section in the schematron spec, describes in detail what binding to be used when xslt is specified. ( and if you read this you notice it defines more than just XSLT 1.0 ; I don't think we want to have this type of information in our own spec)
Received on Tuesday, 11 September 2007 21:15:40 UTC