Re: [xml-dev] ANN: xpath1() scheme for XPointer

From
John Cowan <>
To
Date
2002-10-28T18:49:01Z
ID
<>
Thread
Re: [xml-dev] ANN: xpath1() scheme for XPointer
Tim Bray scripsit:

> Er uh you sure John?  I betcha most parsers accept it.  The XML Spec 
> never did a good job of making up its mind whether it was defining the 
> pre-entity-expansion or post-entity-expansion infoset.  The correct 
> solution is of course to discard all entities except numeric character 
> references, cf XML-SW. -Tim

The BNF is post-*parameter*-entity-expansion, for the most part, but
*general* entity references can only appear in content and attribute
values, not at the top level.

-- 
He made the Legislature meet at one-horse       John Cowan
tank-towns out in the alfalfa belt, so that     
hardly nobody could get there and most of       http://www.reutershealth.com
the leaders would stay home and let him go      http://www.ccil.org/~cowan
to work and do things as he pleased.    --Mencken, _Declaration of Independence_