W3C home > Mailing lists > Public > www-xml-linking-comments@w3.org > January to March 2002

Re: Unexpanded Entity Reference Information Items

From: Daniel Veillard <daniel@veillard.com>
Date: Mon, 7 Jan 2002 11:38:50 +0100
To: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Cc: Jonathan Marsh <jmarsh@microsoft.com>, www-xml-linking-comments@w3.org
Message-ID: <20020107113850.L19164@daniel.veillard.com>
On Fri, Jan 04, 2002 at 08:11:05PM -0500, Elliotte Rusty Harold wrote:
> At 4:23 PM -0800 1/4/02, Jonathan Marsh wrote:
> 
> 
> >I also will note that Unexpanded Entity Reference Info Items are
> >incompatible with XPointer and should result in an error.
> >
> 
> Really? Why? I just took a quick pass through the XPointer spec and 
> couldn't find any text that seemed to indicate that.

Sure, it's part of the XPath 1.0 data model on which XPointer 1.0 is based:

   section 5 Data Model
   http://www.w3.org/TR/xpath#data-model
 
There are no entities nodes in the data model and all the references to
entities explicitely say they should have been expanded, especially in:

  section 5.2 Element Nodes:
  http://www.w3.org/TR/xpath#element-nodes
  "Entity references to both internal and external entities are expanded."

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Received on Monday, 7 January 2002 05:38:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:39:43 GMT