This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://www.w3.org/International/2005/02/xquery-review.html Comment ID: 6
(In reply to comment #0) > http://www.w3.org/International/2005/02/xquery-review.html Comment ID: 6 It is only implementation-defined, whether XQuery supports XML 1.0 or XML 1.1 (defintion of implementation-defined). There should be a feature in XQuery which allows to choose between these two versions of XML.
What do you mean with "provide a feature"? Do you mean a prolog definition? This cannot be done at the query level because the semantics is keyed-off what the data model supports. You cannot run an XQuery supporting XML 1.1 in its syntax or semantics on XML 1.0 input documents or vice-versa without leading to inconsistencies. Providing this as implementation-defined behaviour, it is basically an option for implementations to provide one or the other (or trying to do both). So in this sense it is already a feature. Best regards Michael (speaking for myself)
(In reply to comment #2) > What do you mean with "provide a feature"? > > Do you mean a prolog definition? This cannot be done at the query level > because the semantics is keyed-off what the data model supports. You cannot > run an XQuery supporting XML 1.1 in its syntax or semantics on XML 1.0 input > documents or vice-versa without leading to inconsistencies. > > Providing this as implementation-defined behaviour, it is basically an option > for implementations to provide one or the other (or trying to do both). So in > this sense it is already a feature. > > Best regards > Michael (speaking for myself) consensus of the i18n-core-wg, telecon 27 may 2005: closed.