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

URI references [was: XML 1.0 Conformance Test Results

  • From: james anderson <james.anderson@s...>
  • To: xml-dev@l...
  • Date: Mon, 11 Jun 2001 23:52:57 +0200

pathname file

i am not concerned with escaped characters, but with URI forms which are
a. syntactically suspect:
   i had understood the file scheme to always require a host
b. instances of unknown schemes:
   the scheme "scheme" is undefined, and thus have no specified method
to parse,
   and thus no means to resolve it relative to a base
c. instances of a host-specific syntax:
   the "scheme" "d" is in the same ballpark...

the list follows below.

John Cowan wrote:
> 
> james anderson wrote:
> 
> > During conformance tests I observed that numerous test cases include
> > system identifiers which are not valid URI references. Yet the documents
> > are categorized as valid. The recommendation sets constraints on syntax
> > and interpretation of those references which _are_ URI references, but
> > this reader could find no stipulation, that those system literals which
> > _are not_ valid URI references are thereby in error.
> 
> They are not in error.  Section 4.2.2 as amended by erratum E4 makes
> it clear that the XML processor is obliged to %-escape any characters
> in a system identifier that are not URI-legal.
> 
> --
> There is / one art             || John Cowan <jcowan@r...>
> no more / no less              || http://www.reutershealth.com
> to do / all things             || http://www.ccil.org/~cowan
> with art- / lessness           \\ -- Piet Hein

an illustrative excerpt from the list of cases on which i am not clear:

; Warning: literal uri value will be used: "file:/dev/null" /
#<FILE-PATHNAME
file:///www/Dokumente/Standards/XML/XMLConf/xmlconf/sun/invalid/not-sa02.xml #xA58C736>:
;          Error parsing the URL, "file:/dev/null"..
; While executing: MAKE-URI
; Warning: literal uri value will be used: "file:/dev/null" /
#<FILE-PATHNAME
file:///www/Dokumente/Standards/XML/XMLConf/xmlconf/sun/invalid/not-sa02.xml #xA58C736>:
;          Error parsing the URL, "file:/dev/null"..
; While executing: MAKE-URI
; Warning: literal uri value will be used: "file:/dev/tty" /
#<FILE-PATHNAME
file:///www/Dokumente/Standards/XML/XMLConf/xmlconf/sun/invalid/not-sa02.xml #xA58C736>:
;          Error parsing the URL, "file:/dev/tty"..
; While executing: MAKE-URI
; Warning: literal uri value will be used: "file:/dev/console" /
#<FILE-PATHNAME
file:///www/Dokumente/Standards/XML/XMLConf/xmlconf/sun/invalid/not-sa02.xml #xA58C736>:
;          Error parsing the URL, "file:/dev/console"..
; While executing: MAKE-URI
; Warning: literal uri value will be used: "scheme://host/data" /
#<FILE-PATHNAME
file:///www/Dokumente/Standards/XML/XMLConf/xmlconf/sun/invalid/not-sa02.xml #xA58C736>:
;          No parser defined for protocol scheme in the URL, "scheme://host/data"..
; While executing: MAKE-URI
; Warning: literal uri value will be used:
"d:\\testspec\\images\\sunset.gif" / #<FILE-PATHNAME
file:///www/Dokumente/Standards/XML/XMLConf/xmlconf/ibm/valid/P56/ibm56v08.xml #x861A4BE>:
;          No parser defined for protocol scheme in the URL, "d:\\testspec\\images\\sunset.gif"..
; While executing: MAKE-URI

...

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-2011 All Rights Reserved.