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
www.cogneticsystems.com
Received on Monday, 27 August 2007 17:50:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:48 GMT