[Bug 5804] [XQuery] Version numbers in XQuery version declarations

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5804


Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com




--- Comment #7 from Michael Kay <mike@saxonica.com>  2008-10-20 14:14:42 ---
In XSLT we considered the situation of a vendor who chose to do what Altova
have in fact done: to use the version number in the stylesheet to decide
whether to run according to the 1.0 or 2.0 spec. To describe this situation we
did indeed adopt the terminology Jonathan is proposing: A 1.0 processor is one
that processes according to the 1.0 spec, a 2.0 processor is one that does so
according to the 2.0 spec, and a software product that uses the version
attribute to decide which spec to follow contains both a 1.0 and a 2.0
processor. I think this ends up being clearer, although it might not be the
language that users would choose instinctively.

This formulation means that in this situation the decision which processor to
invoke is made by a piece of software that is not actually governed by either
specification, which means we don't get into the kind of loop where the 2.0
spec needs to contain a normative reference to the 1.0 spec.

Michael Kay


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 20 October 2008 14:14:52 UTC