xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Pogue <mpo...@apache.org>
Subject Re: Schema example personal.xsd won't validate
Date Tue, 18 Apr 2000 21:01:08 GMT
Please post this to the Xerces-J list!

Mike

Michael Hinchey wrote:
> 
> I am using XML4J 3.0.1 (the same happens with xerces-1_0_2).  I wanted to
> start working with schemas.  I have not been able to validate any XSD files.
> Am I doing something wrong?
> 
> Using org.apache.xerces.parsers.DOMParser, when I try to validate the
> data\personal.xsd schema file based on the schema DTD
> (http://www.w3.org/TR/1999/WD-xmlschema-1-19991217/structures.dtd), it gives
> the following error:
> Fatal Error at (file
> http://www.w3.org/TR/1999/WD-xmlschema-1-19991217/structures.dtd, line 14,
> char 22): The system identifier must begin with either a single or double
> quote character.
> 
> In addition, changing the DTD to
> "http://www.w3.org/TR/2000/WD-xmlschema-1-20000407/structures.dtd" gives:
> Fatal Error at (file
> http://www.w3.org/TR/2000/WD-xmlschema-1-20000407/structures.dtd, line 1,
> char 3): The markup declarations contained or pointed to by the document
> type declaration must be well-formed.
> 
> If I use com.ibm.xml.parsers.DOMParser, data\personal.xsd gives a lot of
> errors starting with the one above.
> 
> The XML based on the schema (data\personal-schema.xml) seems to validate,
> but I want to be able to create new, valid schema files.
> 
> Thanks,
> Mike
> 
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org

Mime
View raw message