Hi 

        I'm wondering if someone could possibly help me. I'm using XercesJ
1.2.0 "org.apache.xerces.parsers.DOMParser" to parse and validate a document
against a dtd. The following features are set on the  DOMParser instance.

            parser.setFeature( "http://xml.org/sax/features/validation";,
true);
 
parser.setFeature("http://apache.org/xml/features/dom/include-ignorable-whit
espace", false);  
 
parser.setFeature("http://apache.org/xml/features/dom/create-entity-ref-node
s", false);
            parser.setIncludeIgnorableWhitespace(false); 

        The dtd contains default values for the attributes none of which
appear when I parse the document.       I've attached the xml document and
the dtd, I've implemented an EntityResolver to locate the dtd and all that
works successfully. There are no errors reported by the parser.

Thanks for any help in advance.
Anthony Dodd

--
     _/_/_/_/ _/    _/  _/    _/  _/_/_/_/  _/_/_/    _/_/_/   _/    _/
Anthony Dodd - Software Development   
   _/         _/  _/   _/_/  _/  _/        _/    _/  _/        _/  _/
Phone: 0115 9677990 
  _/_/_/_/    _/_/    _/ _/ _/  _/_/_/    _/_/_/    _/  _/_/   _/_/
Email: [EMAIL PROTECTED] 
       _/     _/     _/  _/_/  _/        _/    _/  _/   _/     _/
Synergy Financial Systems Limited 
_/_/_/_/     _/     _/    _/  _/_/_/_/  _/    _/   _/_/_/     _/ 


Reply via email to