[Home] [By Thread] [By Date] [Recent Entries]


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     jcowan@r...
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_

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member