Sandy, we agree that we disagree slightly.

"Ignorable" isn't a term in any of the official W3C documentation; it's an 
informal phrase that SAX adopted. The actual W3C-defined concept, from the 
XML spec, is "whitespace in element content" -- in other words, whitespace 
appearing in a place where only elements are considered valid.

I agree that the XML Recommendation itself, where this phrase appears, is 
only aware of DTDs and thus defines it only in terms of DTDs. However, 
since schemas are considered an extension of the concept of validity, I 
believe it's reasonable to allow schemas to also provide information about 
what is and isn't "element content".

I've no objection to Xerces defaulting to looking only at the DTD -- 
indeed, if I remember correctly the default behavior now is that 
whitespace-in-element-content is *not* removed unless you enable the 
proper feature. But I do think it would be appropriate to have an 
additional feature which permits performing that filtering on the basis of 
schema knowledge, if that's what the user wants. The alternative would be 
for them to query the PSVI APIs and post-process the document themselves, 
which is both inconvenient and relatively inefficient.

______________________________________
Joe Kesselman  / IBM Research


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to