Re: Reading attribute values with leading spaces

2001-12-15 Thread Dean Roddey
> > See section 3.3.3 of the XML specification. If I've read it > > correctly, parsers must strip leading and trailing whitespace and > > compress internal whitespace to a single space for attribute values > > declared as something other than CDATA. However, "All attributes for > > which no declar

Re: Reading attribute values with leading spaces

2001-12-15 Thread Jason E. Stewart
"Jesse Pelton" <[EMAIL PROTECTED]> writes: > See section 3.3.3 of the XML specification. If I've read it > correctly, parsers must strip leading and trailing whitespace and > compress internal whitespace to a single space for attribute values > declared as something other than CDATA. However, "Al

Re: Reading attribute values with leading spaces

2001-12-15 Thread Hal DeVore
> On Sat, 15 Dec 2001, "Dean" == Dean Roddey wrote: Dean> not imply the same thing that a *CDATA Section* means in Dean> the body of an XML document, which means "don't be messin Dean> with my stuff". My understanding is that whitespace normalization happens even in CDATA _sections_.

Re: Reading attribute values with leading spaces

2001-12-15 Thread Dean Roddey
Yeh, that's true. Normalization is done at the low character spooling level, so its done always really. The only time its not done at that level is when what's being spooled is an internal entity, which has already been normalized during its initial parse, so one way or another the normalization i