[OAI-implementers] oai:UTCdateTimeZType

Tim Brody tdb01r at ecs.soton.ac.uk
Wed Apr 15 04:29:56 EDT 2009


We're having trouble validating against the OAI schema (testing with
xmllint & xerces).
        
It fails with any use of seconds-based granularity e.g.
http://dspace.mit.edu/dspace-oai/request?verb=ListRecords&metadataPrefix=oai_dc&until=2009-03-03T00:00:00Z
        
http://espace.library.uq.edu.au/oai.php?verb=ListRecords&metadataPrefix=oai_dc&until=2009-03-03T00:00:00Z
        
The problem regexp is ".*Z", which as far as we can tell is correct but
doesn't work.
        
Any ideas?
        
foo.xml:6: element request: Schemas validity error : Element 
'{http://www.openarchives.org/OAI/2.0/
}request', attribute 'until': '0000-01-01T00:00:00Z' is not a valid
value of the union type '{http://www.openarchives.org/OAI/
2.0/}UTCdatetimeType'.
foo.xml fails to validate
        
All the best,
Tim.






More information about the OAI-implementers mailing list