Hi scott,

 In fact, I'm using Xerces 1.2.3 and I didn't found any parameter for doctype 
processing. and when I tried to get the doctype information in my DOM, I only 
got "html"... not the complete one (may be a lack from myself ).

 Fortunately, yesterday I receive an email from Sebastien Ponce containing 
Xerces Parser Parameters.
 With these parameters, the problem seems to be solved, but I don't understand 
why. These parameters are :

         
parser.setFeature("http://apache.org/xml/features/dom/include-ignorable-whitespace";,
 false);
         parser.setFeature("http://xml.org/sax/features/namespaces";, false);
         
parser.setFeature("http://apache.org/xml/features/dom/create-entity-ref-nodes";, 
false);
         
parser.setFeature("http://apache.org/xml/features/continue-after-fatal-error";, 
true);

How those parameters can provide a better DOM (processable by Xalan with my 
stylesheets) ?
 If someone has any explanation, it would be nice !
Thanks a lot.

Yann.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> Sent: Friday, March 30, 2001 6:04 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Output DOM and Xalan Process
> 
> 
> You should probably send this message to xalan-dev.  The doctype processing
> is dynamic by default... if it's there you should be having the dtd
> processed and the document validated.  If you are using ID attributes with
> the id() function you need DTD processing, or if you want default
> attributes.  Otherwise you don't need it.  I am told it is not a big
> performance hit if you are doing validation.
> 
> -scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to