[
Lists Home |
Date Index |
Thread Index
]
On Saturday 15 December 2001 04:36 pm, David Brownell wrote:
> > > It'd be much better to have that normalization be done by layers
> > > above XML than to hard-wire such requirements into the core
> > > of XML. I'd certainly expect normalization rules to evolve.
> >
> > Actually, it might be better to do it below the parser... closer to the
> > input stream level.
>
> That'd mean "inside the parser", because of autodetection
> of charsets. Unless there's a standard non-text I/O layer
> that XML parsers must start to use ... :)
I actually meant closer to the Reader level in java.io (or nio Channel).
Normalization needs to happen a low down as possible otherwise the
differences between normalized and non-normalized text will poke their noses
in places they shouldn't.
|