xquery validation and insignificant whitespace

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 UTC