ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph.Wilhe...@t-online.de (Christoph Wilhelms)
Subject RE: Bug in Antidote
Date Sun, 05 Oct 2003 19:47:32 GMT
Hi Jack!

> Bug in Antidote that affects the output.
> 
> I've just noticed that  xml.XMLWriter. startDocument () never 
> gets called. In theory it gets called in 
> xml.DOMNodeSerializer.writeNodeStart() when passed a Node of 
> type DOCUMENT_NODE but apparently it never gets passed that 
> type of node. The result is that the <? xml version=1.0 etc. 
> never gets written to the output file. This may also be the 
> reason that a document-leading comment outside the <project> 
> tag gets eaten.
>
[...]
> 
> I'm trying to figure this out. Any tips, Christoph?

Fixed myself! Thanx!

It occurred because the serialize method "write" has been called to the
Project node, not to the document node one level above (in
core.ProjectManager)! Should work now!

Greeting,
Christoph


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message