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

Re: Comments and questions on text node interface

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Fri, 15 Mar 2002 10:09:07 -0500
Message-Id: <p04330103b8b7be5989e0@[192.168.254.4]>
To: www-dom@w3.org
At 8:39 AM -0500 3/14/02, Ray Whitmer wrote:

In real use cases, forcing the user to expand them before he uses 
XPath seems very much like deprecating them.  It assumes there is no 
need for the user to keep the entity reference nodes in the tree 
during and after XPath processing.

It's not deprecation. XPath 1.0 is quite clear that entity references 
must be expanded. Section 5.2 of the XPath spec states, "Entity 
references to both internal and external entities are expanded. 
Character references are resolved." Unexpanded entity references were 
never allowed in XPath in the first place so they can't be deprecated 
now.
-- 

+-----------------------+------------------------+-------------------+
| 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/    |
+----------------------------------+---------------------------------+
Received on Friday, 15 March 2002 10:48:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT