Subject: Re: use cases for d-o-e
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 10 Jan 2002 22:41:25 GMT
|
> 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 |
- Re: use cases for d-o-e, (continued)
- roger . day - Thu, 10 Jan 2002 07:33:53 -0500 (EST)
- Joerg Pietschmann - Thu, 10 Jan 2002 08:12:35 -0500 (EST)
- David Carlisle - Thu, 10 Jan 2002 08:39:22 -0500 (EST)
- naha - Thu, 10 Jan 2002 14:21:02 -0500 (EST)
- David Carlisle - Thu, 10 Jan 2002 17:40:37 -0500 (EST) <=
- Bryan Rasmussen - Fri, 11 Jan 2002 04:37:01 -0500 (EST)
- Joerg Pietschmann - Thu, 10 Jan 2002 10:36:33 -0500 (EST)
- KIENLE, STEVEN C [IT/0200] - Thu, 10 Jan 2002 14:37:06 -0500 (EST)
|
|