OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] canonicalization

[ Lists Home | Date Index | Thread Index ]

At 1:26 PM +1100 3/6/02, Rick Jelliffe wrote:


>A SYSTEM identifier in an entity declaration can be any URI.
>All that would be needed was a version of XML to say "interpret
>XPointers".
>

Umm, no you can't do that. Section 4.2.2 of the XML spec (2nd edition) states:

  It is an error for a fragment identifier (beginning with a # 
character) to be part of a system identifier.

This pretty effectively rules out the possibility of using fragment 
identifiers whether XPointers or otherwise. (I suppose this is one of 
those annoying not necessarily fatal, not necessarily unfatal errors 
that is neither a well-formedness error nor a validity error, but I 
certainly wouldn't recommend counting on that.)
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS