Xalan is not "going after anything" or ignoring anything -- it's the Xerces
parser that is parsing your document.

The XML recommendation does not require a parser to ignore a DTD if the
document is standalone:

   http://www.w3.org/TR/REC-xml#sec-rmd

Dave



                                                                                
                                                      
                      Brian Grainger                                            
                                                      
                      <[EMAIL PROTECTED]>         To:      [EMAIL PROTECTED]    
                                              
                                               cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                          
                      04/30/2002 06:02         Subject: Re: Xalan phone home    
                                                      
                      PM                                                        
                                                      
                                                                                
                                                      
                                                                                
                                                      



At 03:30 PM 4/30/02 +0100, you wrote:

I've been able to track down what is causing the network activity when I
invoke Xalan. It is the reference to an external DTD in the document being
transformed. However, when I set standalone="yes" in the XML declaration at

the top of the document, Xalan ignores this and still goes after the
external DTD.

My understanding of how this is supposed to work is that if a document
contains both standalone="yes" and an external schema reference, the parser

is supposed to throw an exception, but that isn't happening. I'll leave
that one for you experts to figure out.

Regards,
Brian






Reply via email to