[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: use cases for d-o-e
> I'm curious why the XML infoset didn't provide for unexpanded entity > references. well XML doesn't have SDATA entities so really it doesn't have any support for unexpanded entities. An entity reference in a document without a doctype is a fatal error (that's also why schema doesn't allow the definition of entities). If youhave an entity ref and a DTD with an external subset that doesn't define the DTD that's only a validity error not a fatal well formedness error (on the grounds that a non validating parser might not read the dtd and so know the enity wasn't defined). so > I'm curious why the XML infoset didn't provide for unexpanded entity > references. Aside from being parsed and serialized, the only other > operation they'd need to support is name(). isn't really true. If XSLT wanted to try to ensure output was well formed XML it would have to have a better model of DTD and dcotype information than it currently has if it wanted to output entity refs. David. _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|