- From: David Carlisle <davidc@nag.co.uk>
- Date: Wed, 19 May 2010 11:40:28 +0100
- 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 UTC