Re: Comments and questions on text node interface

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 UTC