Re: [xml] xsddata-test-suite
- From: Daniel Veillard <veillard redhat com>
 
- To: Charles Bozeman <cbozeman hiwaay net>
 
- Cc: libxml-list <xml gnome org>
 
- Subject: Re: [xml] xsddata-test-suite
 
- Date: Mon, 31 Mar 2003 04:10:14 -0500
 
On Sun, Mar 30, 2003 at 08:55:51PM -0600, Charles Bozeman wrote:
Daniel,
When I saw your ChangeLog entry concerning the date/time failures from
the xsddata test suite, I gave it a quick look and found something that
may explain some of the failures. The xsddata test suite expects a
gMonth value to be in the form "--MM" but XML Schema: Datatypes states
that a gMonth is "--MM--" which is what the code in xmlschematypes.c is
looking for.
  Hum, I had a glance at it, seems you're right from the spec. So
I grabbed the errata 
   http://www.w3.org/2001/05/xmlschema-errata#e2-12
and no surprize section E2-12 makes an erratum for the gMonth Lexical
representation removing the trailing '--'.
It's always a good idea to double-check before reporting bugs to
James Clark, he usually don't do mistakes <grin/>
I will try to fix the gMonth date parsing, sigh ...
Also one of the tests has "---01" to be an invalid gMonth
but the code will see this as a valid gDay. I'm guessing that any other
date/time related failures in the test are related to facets
(minExclusive etc.).
  I need to check if that's a limitation of the date code base or 
a problem in the way the dfacet are wired.
Daniel
-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next]   [
Thread Prev][Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]