[
Lists Home |
Date Index |
Thread Index
]
Rich Salz wrote:
>
> I didn't say it was easy. I said it was disappointing that the average
> programmer can't just output a little bit of XML -- a config file,
> for example -- without some heavyweight API.
Who says you need a heavyweight API? A lightweight one
is even easier to use than print statements or string
concatenation.
> That would mean, for
> example, embedded returns -- unnormalized line-end -- are out of
> scope for what I was talking about.
>
> > <!DOCTYPE doc [
> > <!ENTITY e "<?x y ?>">
> > ]>
> > <doc>&e;</doc>
>
> Tough, but not even close to what the original topic was.
I believe that this example is actually _impossible_
to reserialize from an infoset (unless you reconstruct
the original entity declaration.)
--Joe English
jenglish@flightlab.com
|