W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2008

[Bug 5207] [XQuery] Accessing undefined static context base URI and XPST0001

From: <bugzilla@wiggum.w3.org>
Date: Fri, 22 Feb 2008 09:30:39 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JSUEp-0005cU-5T@wiggum.w3.org>

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





------- Comment #8 from mike@saxonica.com  2008-02-22 09:30 -------
Proposed change to XDM:

6.1.3. 

[I'm not entirely sure what the spec is trying to say when it says that some
InfoSet properties are required and others are optional. Is it a statement
about the InfoSet, or about the process of construction from an InfoSet?]

Change

<old>
The following infoset properties are required: [children] and [base URI].

The following infoset properties are optional: [unparsed entities].
</old>

to

<new>
The following infoset properties are used: [children], [base URI], and
[unparsed entities].
</new>

Under "base URI" change

<old>
The value of the [base URI] property. Note that the base URI property is always
an absolute URI (if an absolute URI can be computed) though it may contain
Unicode characters that are not allowed in URIs. These characters, if they
occur, are present in the base-uri property and will have to be encoded and
escaped by the application to obtain a URI suitable for retrieval, if retrieval
is required.
</old>

to

<new>
The value of the [base URI] property, if available. Note that the base URI
property, if available, is always an absolute URI (if an absolute URI can be
computed) though it may contain Unicode characters that are not allowed in
URIs. These characters, if they occur, are present in the base-uri property and
will have to be encoded and escaped by the application to obtain a URI suitable
for retrieval, if retrieval is required.

In practice a [base URI] is not always known. In this case the value of the
<b>base-uri</b> property of the document node will be the empty sequence. This
is not intrinsically an error, though it may cause some operations that depend
on the base URI to fail.
</new>

6.2.3: Make the corresponding changes

6.5.3: Make the corresponding changes
Received on Friday, 22 February 2008 09:30:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:50 GMT