This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4252 - K2-SeqExprCast-207 should be an optional error
Summary: K2-SeqExprCast-207 should be an optional error
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-17 21:03 UTC by Per Bothner
Modified: 2007-03-09 14:07 UTC (History)
0 users

See Also:


Attachments

Description Per Bothner 2007-01-17 21:03:36 UTC
K2-SeqExprCast-207 is "Construct an xs:anyURI from an invalid string."  However, F&O 17.1.1 Casting from xs:string and xs:untypedAtomic is clear that:

  For xs:anyURI, the extent to which an implementation validates the
  lexical form of xs:anyURI is ·implementation dependent·.

It is also worth noting that in Schema 1.1 last call:

"The ·lexical space· of anyURI is finite-length character sequences."

This is probably because (as previously discussed) the specification of the anyURI datatype in Scheme 1.0 was ambiguous, being a weird union of URIs after escaping and URIs before escaping, which means you can't really ascribe any meaning to them at all.
Comment 1 Frans Englich 2007-01-21 12:45:55 UTC
A fix has been attempted in CVS, and XQTS_current.zip has been updated to contain the new change. If it can be verified that the change is correct, it would be appreciated.

If this resolution is satisfiable, feel free to change status to closed. Otherwise, reopen this report. If no opinion on the resolution is expressed within two weeks, I will change status to closed.

This change to this report was part of a batch-change of several reports.
Comment 2 Per Bothner 2007-01-22 03:51:43 UTC
This is another of the issues of when and how to canonicalize.
K2-SeqExprCast-207.txt contains:
http:\\invalid>URI\someURI
but the canonical result is:
http:\\invalid>URI\someURI
Not the XQTS specificaton does say the it is my responsibility to canonicale the expected output, and I can handle this issue too.  But if you don't mind changing K2-SeqExprCast-207.txt that would be reasonable too.
Comment 3 Frans Englich 2007-01-23 16:19:51 UTC
">" should be escaped in CVS now.
Comment 4 Per Bothner 2007-01-23 20:34:45 UTC
You have mave accidentally reverted something.
K2-SeqExprCast-207.txt is gone, and the entry in the XQTSCatalog (dated 2007-01-22+01:00) no longer ocntains an output-file element.
Comment 5 Frans Englich 2007-03-09 14:07:59 UTC
Per,

Hopefully this is fixed in CVS.


Frans