[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

PLEASE do not cross-post xml-dev to XQuery comments list


xquery comments
PLEASE do not cross-post xml-dev to XQuery comments list. The latter 
operates at a much lower traffic level and a much higher signal-to-noise 
ratio than is customeray for xml-dev.

This comment is certainly appropriate - but not as a cross-post!

Jonathan
--- Begin Message ---
Michael Kay wrote:

> The XQuery specification, incidentally, defines a mapping of error QNames to
> error URIs. It's different from this one, of course.

The error URIs in the XQuery spec look like this:

http://www.w3.org/2004/10/xqt-errors#XPST0017

Something similar has been tried before in XML digital signatures and 
RDF. For reasons elucidated in the draft proposal, this format is not 
suitable for all QNames and does not work as a generic mechanism for 
encoding Qnames as URIs.

The XQuery format also seem to suffer from the disease that everything 
must be an http URI even when, as in this case, the URI is not actually 
resolvable. (http://www.w3.org/2004/10/xqt-errors is a real page but the 
fragment ID doesn't point to anything.)

I agree with most of your concerns about the details of the proposed 
qname URN scheme (IRIs vs. URIs, percent encoding, etc.) but at a 
fundamental level I think the proposed scheme is better than what XQuery 
is proposing. I would suggest that XQuery adopt the new qname URN scheme 
rather than using http URIs to identify error codes. In fact, I'll cc 
this to the XQuery working group to register it as a formal comment.

-- 
Elliotte Rusty Harold  elharo@m...
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://www.oasis-open.org/mlmanage/index.php>

--- End Message ---

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.