W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2003

whitespace normalization passed to application?

From: Neil Bradley <neil.bradley@detica.com>
Date: Tue, 26 Aug 2003 13:16:21 +0100
Message-ID: <BFFC437651C6EC4AA70E94189C6E354A030AE423@black06.smithgroup.co.uk>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>

I read somewhere that normalization settings for element content and
attribute values is NOT passed-on to an application, but only used to help
avoid errors when checking against a data type that does not allow for
whitespace. Yet the XML standard talks about whitespace normalization for
attributes being passed on to an application. When no validation takes
place, or when the type is CDATA, we get one form of normalization, and when
validating and the attribute type is something else we get further

So, if I validate against a schema instead of a DTD, does an application
1) no normalization of attribute values at all
2) default (CDATA type) normalization of all attributes
3) different kinds of normalization, depending upon the data type used


This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.

The contents of this email may relate to dealings with other companies within the Detica Group plc group of companies.

Detica Ltd is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England
Received on Tuesday, 26 August 2003 08:22:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC