- From: Michael Kay <mhk@mhk.me.uk>
- Date: Thu, 12 Feb 2004 00:44:56 -0000
- To: "'Jonathan Robie'" <jonathan.robie@datadirect.com>, "'XML Query Comments'" <public-qt-comments@w3.org>
> The XQuery document notes that the following element > constructor fails with a validation error: > > <p xsi:type="xs:integer">3</p> > > This is an unpleasant surprise for users - and there is a > simple solution. The specification already requires > implementations to create a namespace node for each namespace > used in an element or attribute > name: <snip/> > > A similar rule should be added to create a namespace node > for each namespace used in an instance of the xs:QName type. > But how do you know it's a QName until you've validated it, and how do you validate it if there is no namespace node? Michael Kay
Received on Wednesday, 11 February 2004 19:44:30 UTC