[Bug 2729] Whitespace text nodes


------- Additional Comments From mike@saxonica.com  2006-01-19 15:51 -------
I must admit that I thought the specs currently said [B]. Reading it more
carefully, I see that it is indeed possible that a parser doesn't do validation,
but does distinguish whitespace appearing in element content from whitespace
appearing in mixed content. Are there real parsers that do this, however? 

Looking at your option B, is there any way one can look at an InfoSet and
determine whether it was constructed by a validating parser? If not, [B] looks
like a lost cause (unless we abandon the pretence that we only look at the
infoset and have no idea how it was created).

Received on Thursday, 19 January 2006 15:51:24 UTC