Re: Fwd: Question about Gobo xml parsing library

Colin Paul Adams <[email protected]> Wed, 07 Sep 2011 05:54:54 +0100
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
>>>>> "Alexander" == Alexander Kogtenkov <[email protected]> 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

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/