[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSV - possible bug with XSV type checking

From: Ian.Mockford <Ian.Mockford@rrl.co.uk>
Date: Wed, 28 Nov 2001 10:36:01 -0500 (EST)
Message-ID: <B0B581DB7EDFD2119DC00090273A97F5F1EF0C@nts006.rrl.co.uk>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
XSV - possible bug with XSV type checking
Not sure if this is a bug with XSV or a misapprehension on my part, but if I validate a schema with lines like:
   <xsd:attribute name="id"                  type="xsd:ForceBreak"  use="required" />
   <xsd:attribute name="year"           type="xsd:integer"  use="required" />

I would expect a failure because I wouldn't expect [type="xsd:ForceBreak"] to be acceptable because it is not an xsd: type.
This came to light when I had a schema that contained  type="xsd:real", which another tool (Xerces?) did not like (quite rightly by my interpretation of XML Schema spec).

So I would be interested in knowing whether this is a bug or a known behaviour that has a sensible reason behind it. If the latter, it might be worth posting something with the XSV to explain it.

thanks

Ian Mockford




*******************************************************************************
This email and any files transmitted with it are intended solely for the use of
the individual or entity to whom they are addressed and may not be divulged to
any third party without the express permission of the originator.  Any views
expressed in this message are those of the individual sender, except where the
sender specifically states them to be the views of Thales Research Ltd.

Following the acquisition of Racal Electronics plc by Thomson-CSF, please note
that our new name is Thales Research Ltd.  For more information regarding the
Thales Group (formerly Thomson-CSF) please see our website www.Thalesgroup.com
*******************************************************************************
Received on Wednesday, 28 November 2001 11:32:51 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.