[Home] [By Thread] [By Date] [Recent Entries]


Len Bullard scripsit:

> [W]hen using a SAX parser, should the parser 
> strip trailing white space in an attribute 
> value?  Empirical testing says no.

No.  If the attribute is of type CDATA, or its type is not known, then
the only thing done is to change line breaks to spaces.  If the type is
known and is not CDATA, then whitespace is collapsed inside and stripped
front and rear.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member