[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: new DTD and XSD for v2.1c
Sam, Thanks! It is interesting to note that XML Instance reports an error given that I generated the XML with XML Authority;-) I did add the xmlns attribute by hand though;-) I'll add the xmlns attribute with the default value to the DTD. On a related note, we should seriously consider a namespace prefix (such as eb:...) which would change the DTD considerably because all of the scoped elements/attributes would need to be explicitly tagged in the DTD. Cheers, Chris > Sam Hunting wrote: > > [chris writes] > > > Here are revised DTD, XSD and sample XML for v2.1c. I would > > welcome a double check by anyone with a few cycles and a reasonable > > validating parser. > > For DTDs: > (1) nsgmls 1.3.4 with XML support reports correctly that in level1-10022000.xml: > > <ebXMLHeader xmlns="http://ebxml ....> > > is not valid because there is no attribute definition for xmlns on the ebXML element in the DTD. > > Note that in DTD validation an xmlns attribute has no special status. Therefore, if there is a > value for an xmlns attribute in the instance, an xmlns attribute has to be declared in the DTD. > > (2) xerces 1_1_3 reports incorrectly that level1-10022000.xml has no errors. > > (3) XML Spy 3.0.7 reports incorrectly that level1-10022000.xml has no errors. > > (4) XML Instance misses the xmnls error and reports that level1-10022000 has the following error: > > Element "timestamp" data "183909.000Z" is not a valid time. > > This supports D4DTD (http://www.w3.org/TR/dt4dtd) and is correct assuming that D4DTD > validation is desired. > > For the schema: > > (1) XML Instance reports the timestamp error (see above). > > (2) The schema crashed the XSV validator at http://www.w3.org/2000/06/webdata/xsv. > > Hope this helps > > S. > > > -- _/_/_/_/ _/ _/ _/ _/ Christopher Ferris - Enterprise Architect _/ _/ _/ _/_/ _/ Phone: 781-442-3063 or x23063 _/_/_/_/ _/ _/ _/ _/ _/ Email: chris.ferris@East.Sun.COM _/ _/ _/ _/ _/_/ Sun Microsystems, Mailstop: UBUR03-313 _/_/_/_/ _/_/_/ _/ _/ 1 Network Drive Burlington, MA 01803-0903
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC