Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: different whitespace-collapse behaviour of parsers

From: Dave Peterson <davep@---.--->
To: Dieter Guthmann <mailing-deg@-------.-->
Date: 4/20/2009 7:48:00 AM
On Fri, 13 Mar 2009 08:29:16 -0000, Michael Kay wrote (to xmlschema-dev):
>The specification is a little bit less formal than one might like:

>and I guess one could argue for an interpretation that says a character
>can't be a "leading #x20" unless it is followed by something - but it seems
>a bit far-fetched to me. I think Liquid XML Studio is out on a limb here.
>But I've raised bug 6695 to propose a clarification.

The XSD WG has eliminated the words 'leading' and 'trailing'; the revised
text is:

>collapse:
>   After the processing implied by replace, contiguous sequences of #x20's are
>collapsed to a single #x20, and any #x20 at the start or end of the string is
>then removed.

The result of collapsing a string consisting solely of whitespace is
the empty string, and this wording is intended to make that more obvious.
-- 
Dave Peterson
SGMLWorks!

davep@i...

From prvs=355757a54=JGLACE@l... Tue Apr 21 21:04:02 200


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent