Entity processing (was new msxml behaviour)

Andrew Layman andrewl at microsoft.com
Wed Nov 5 18:14:54 GMT 1997

Yes, the MSXML code is attempting to match the XML specs as recently revised
by the WG decision.  (Thanks for the test files, Tim, Henry and Michael:
We'll use these in testing.)

--Andrew Layman
   AndrewL at microsoft.com

> -----Original Message-----
> From:	Tim Bray [SMTP:tbray at textuality.com]
> Sent:	Wednesday, November 05, 1997 12:36 AM
> To:	xml-dev at ic.ac.uk
> Subject:	Entity processing (was new msxml behaviour)
> At 12:41 PM 05/11/97 +1300, Scott Cooper wrote:
> >the new msxml contains this code ...
> >	if (sb.length() > 0)
> >       	sb.append(' ');
> >notice the appending of a space. is this appropriate? 
> Recent WG decisions require that parameter entity expansions (outside
> of entitity values) should be forced to match an even number tokens
> simply by appending & prepending spaces to their expansion; I 
> hypothesize that this is what the msxml code is doing.
> Of course, this can't be done when building the replacement text
> of an internal text entity.  To aid in sorting this, out, I attach
> a couple of my test files; credit is due to Henry Thomson, Michael
> Sperberg-McQueen, and likely others for helping cook these up.
> I *think* that the behavior of Lark 0.97 on these is per the spec.
> But it's there's enough hair on this set of problems that there's
> lots of ways I could be wrong. -Tim << File: EntVal.txt >>  << File:
> EntVal2.txt >> 

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list