You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "RAJARAJAN.A.L" <ra...@comneti.com> on 2001/01/10 11:08:39 UTC

Attributes error

Hi,
    I'm trying to parse an xml document using the Xerces SAX 2.0 parser.  I'm setting the validation feature to 'on' and the namespaces feature to 'off'.  But an exception " Attribute "xmlns:JavaXML" with value "http://www.oreilly.com/catalog/javaXML/" must have a value of http://www.oreilly.com/catalog/JavaXML/".  is thrown.  Can anyone help.

The xml document block is as follows:

<?xml version="1.0"?>
<?xml-stylesheet href="XSL\JavaXML.html.xsl" type="text/xsl"?>
<?xml-stylesheet href="XSL\JavaXML.wml.xsl" type="text/xsl" media="wap"?>
<?cocoon-process type="xslt"?>

<!DOCTYPE JavaXML:Book SYSTEM "JavaXml.dtd">
<JavaXML:Book xmlns:JavaXML="http://www.oreilly.com/catalog/javaXML/">
   <JavaXML:Title>Java and XML</JavaXML:Title>
        ......
            ........
                .......

Regards,
Rajan.