[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: use cases for d-o-e

Subject: Re: use cases for d-o-e
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 10 Jan 2002 22:41:25 GMT
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.