"Igor Tsives" <[EMAIL PROTECTED]> writes:

> I was wandering why 
>  
> XML::Xerces::DOMParse::print (\*STDOUT, $doc); 
>  
> is not printing out a declaration line 
>  
> <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
>  
> I am using Xerces version 1.7.0 on linux

Hi Igor,

Yes, this behavior is new for 1.7. The issue is that I converted the
DOM to use Xerces' new IDOM implementation, and IDOM provides no
XML_Decl nodes in it's heirarchy, so when the document is serialized,
it is not there. 

I guess I should change the code to print one out manually.

jas.

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

Reply via email to