W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2003

XMLSchema.xsd

From: herbert van de sompel <herbertv@lanl.gov>
Date: Fri, 04 Apr 2003 19:27:47 -0700
Message-ID: <3E8E3F22.51F2C53@lanl.gov>
To: xmlschema-dev@w3.org

hi,

While working on a project in which W3C XML Schema are harvested as "metadata"
using the Open Archives Protocol for Metadata Harvesting
(http://www.openarchives.org/OAI/openarchivesprotocol.html), we ran into
validation problems of OAI-PMH responses that seem to be caused by issues in
XMLSchema.xsd at http://www.w3.org/2001/XMLSchema.xsd (Part 1 version: Id:
XMLSchema.xsd,v 1.53 2003/02/24 17:40:07 ht Exp ; Part 2 version: Id:
datatypes.xsd,v 1.58 2003/02/26 14:01:29 ht Exp).

Xerces lists the following errors:

* [Error] XMLSchema.xsd:1830:37: InvalidRegex: Pattern value
'(([a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*' is not a valid regular expression:
'')' is expected.'.

* [Error] XMLSchema.xsd:2000:39: InvalidRegex: Pattern value '[-+]?[0-9]+'
is not a valid regular expression: ''-' is an invalid character range.
Write '\-'.'.

We created a local copy of XMLSchema.xsd in which we corrected both the above
issues.  Xerces no longer reports any errors on that version, and also OAI-PMH
responses validate.  Our local, edited copy is available at
http://lib-www.lanl.gov/~herbertv/wip/XMLSchema.xsd .

I am wondering whether the above issues have already been reported, and if not,
what the process would be to address them in the official W3C version of
XMLSchema.xsd .

cheers

herbert van de sompel

--
Herbert Van de Sompel
digital library research & prototyping
Los Alamos National Laboratory - Research Library
+ 1 (505) 667 1267 / http://lib-www.lanl.gov/~herbertv/

"your argument is absolutely logical.  but people will be confused"
anonymous participant in OpenURL Standardization Committee
Received on Friday, 4 April 2003 21:34:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT