W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > May 2010

[xml-proc-profiles] white space handling.

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 19 May 2010 11:40:28 +0100
Message-ID: <4BF3C01C.6060207@nag.co.uk>
To: public-xml-processing-model-comments@w3.org



It would be useful if the basic processing profile could be explicit 
about white space (for example saying explicitly that it be preserved).

Differences in white space handling are perhaps the major source of 
incompatibility between XSLT1 processors (or at least they are seem in 
XSLT1, although the differences are usually in the parser rather than 
the XSLT engine) and XDM goes so far as to specify that the construction 
of a tree is implementation-specific on this issue.

http://www.w3.org/TR/xpath-datamodel/#const-infoset-text

says that white space text nodes with the infoset property [element 
content whitespace] are discarded, however the property itself is 
optional, with the end result that some systems discard the space and 
some do not. It would be useful to have this profile spec provide a 
mechanism for saying what a system does.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Received on Wednesday, 19 May 2010 10:41:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 19 May 2010 10:41:02 GMT