According to xalan documentation (see
http://xml.apache.org/xalan-j/commandline.html)
"-ENTITYRESOLVER full class name (EntityResolver to be used to resolve
entities)".
Class with full name "NoOpEntityResolver" cannot be loaded.

I understood that your goal is just not to load an external DTD.
You can do it from in wrapper by setting
http://apache.org/xml/features/nonvalidating/load-external-dtd
in xerces (see http://xml.apache.org/xerces2-j/features.html).

You can also open an enchantment defect in
http://nagoya.apache.org/bugzilla asking to have
this option to be available in xalan.


Igor Hersht
XSLT Development
IBM Canada Ltd., 8200 Warden Avenue, Markham, Ontario L6G 1C7
Office D2-260, Phone (905)413-3240 ; FAX  (905)413-4839


                                                                           
             Marc Lijour                                                   
             <[EMAIL PROTECTED]>                                             
                                                                        To 
             04/05/2004 10:40          [EMAIL PROTECTED]        
             PM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         Class file not found for option     
                   marc                -EntityResolver                     
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




I apologize but I am a newbie. What could be wrong with this?

(otherwise, xalan is working fine. Here I try to hook him up with an entity

resolver so that it would not try to load an external dtd. There is a
document() call inside the xsl that loads a xml file with a dtd I don't
care
about and that is 'not found')


java -classpath /usr/share/java/xerces-j2.jar:/usr/share/java/jdom.jar:.
org.apache.xalan.xslt.Process  -IN result1_test.xml -XSL
OOo2custom_stage2.xsl -ENTITYRESOLVER NoOpEntityResolver
Class file not found for option -EntityResolver



Reply via email to