W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2007

xquery validation and insignificant whitespace

From: Bill Patton <bpatton_temp8345@cogneticsystems.com>
Date: Mon, 27 Aug 2007 13:50:25 -0400
To: public-qt-comments@w3.org
Message-Id: <20070827172929.M58183@cogneticsystems.com>

Dear Sirs,

How should xquery validation handle insignificant whitespace in element-only
content?  Should it strip whitespace from the data model returned by
validation or preserve it as I think XML schema requires.

If the whitespace remains in the data model, operators such as "instance of"
and "typeswitch" will provide surprising results when used with sequence types
that don't expect interleaved whitespace.

The semantics for validation given in the formal semantics document describes
interleaved text nodes in mixed content but does not seem to describe
interleaved whitespace in element-only content.

Bill Patton
Cognetic Systens, Inc.
(678) 533-4405
Received on Monday, 27 August 2007 17:50:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:34 UTC