From: Colin P. A. <co...@co...> - 2011-09-07 05:09:36
|
>>>>> "Alexander" == Alexander Kogtenkov <kw...@ah...> writes: Alexander> My feeling is that the processing expectations depend on Alexander> whether the XML parser is validating or not. The rule Alexander> that prevents the parser from attribute normalization is Alexander> All attributes for which no declaration has been read Alexander> SHOULD be treated by a non-validating processor as if Alexander> declared CDATA. Alexander> And if attribute declarations are present we have Alexander> If the attribute type is not CDATA, then the XML Alexander> processor MUST further [collapse white spaces]. Alexander> So, a non-validating XML parser should not collapse the Alexander> white space characters, while the behaviour of the Alexander> validating one depends on the associated attribute Alexander> declaration. And to spell it out, the Gobo XML parser is non-validating. -- Colin Adams Preston Lancashire () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments |