[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Telling parser to ignore DTD

Subject: Re: Telling parser to ignore DTD
From: "David N Bertoni/Cambridge/IBM" <david_n_bertoni@xxxxxxxxxx>
Date: Thu, 2 May 2002 12:59:11 -0700
sax ignore dtd
You can't tell Xerces to ignore the DTD, but you can install an
EntityResolver and simply return an empty stream.  This is standard SAX:

   http://www.saxproject.org/apidoc/org/xml/sax/EntityResolver.html

Dave



                                                                                                                                                      
                      Joerg Heinicke                                                                                                                  
                      <joerg.heinicke@xxxxxx>            To:      xsl-list@xxxxxxxxxxxxxxxxxxxxxx                                                     
                      Sent by:                           cc:      (bcc: David N Bertoni/Cambridge/IBM)                                                
                      owner-xsl-list@xxxxxxxxxxx         Subject: Re:  Telling parser to ignore DTD                                              
                      rrytech.com                                                                                                                     
                                                                                                                                                      
                                                                                                                                                      
                      05/02/2002 12:38 PM                                                                                                             
                      Please respond to xsl-list                                                                                                      
                                                                                                                                                      
                                                                                                                                                      



Hello Manny,

we don't have a solution for this, we have the same problem. With a
doctype-system, which Xalan can't find, Xalan throws an exception. It
doesn't validate the XML against the DTD, but it MUST find it. Until now
we solved the problem with an empty DTD-file at the place, where the
file is searched. If you found a solution or anybody knows one, we would
appreciate to get to know it.

Regards,

Joerg

Manny Parasirakis schrieb:
> Is there a way to tell xalan to ignore the DTD defined in the XML file
> and just process the transformation without using the DTD?
>
>
> Emmanuel Parasirakis (Manny)


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list







 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.