[Bug 29737] [QT3TS] xml-to-json-061

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29737

Michael Kay <mike@saxonica.com> changed:

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

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
No location hints should be needed. Se XQuery 4.11

If the target namespace is http://www.w3.org/2005/xpath-functions or[*] then
the schemas described in Section C.2 Schema for the result of fn:json-to-xml
FO31 and Section 5.6.5 fn:analyze-string FO31 are imported. ...  If the target
namespace is http://www.w3.org/2005/xpath-functions, then the implementation
must ignore location hints.

* the "or" here is a typo. And the paragraph could be better structured:

<suggestion>
The first URILiteral in a schema import specifies the target namespace of the
schema to be imported. The URILiterals that follow the at keyword are optional
location hints, and can be interpreted or disregarded in an
implementation-dependent way. Multiple location hints might be used to indicate
more than one possible place to look for the schema or multiple physical
resources to be assembled to form the schema. 

If the target namespace is http://www.w3.org/2005/xpath-functions, then the
schemas described in Section C.2 Schema for the result of fn:json-to-xml FO31
and Section 5.6.5 fn:analyze-string FO31 are imported; the implementation must
not require any location hints to be provided and must ignore any that are
provided.
</suggestion>

I think the analyze-string test cited precedes the introduction of this rule.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 18 July 2016 12:04:48 UTC