ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nir Geier" <Nir.Ge...@unipier.com>
Subject RE: <xmltask> problem:
Date Wed, 29 Jun 2005 13:02:44 GMT
I will try it.
sounds good to me.

ty


-----Original Message-----
From: CLAVIER Remi RD-CORE-LAN [mailto:remi.clavier@francetelecom.com]
Sent: Wednesday, June 29, 2005 2:01 PM
To: Ant Users List
Subject: RE: <xmltask> problem:


 
A suggestion...
Try to put the DTD in the 'base' directory (where your build.xml exists...).
It seems me that all 'relative' path are relative from this point.
If needed, add some lines to copy your DTD at the right place befor to use xmltask and to
delete it when it's no more needed...

-----Message d'origine-----
De : Nir Geier [mailto:Nir.Geier@unipier.com] 
Envoyé : mercredi 29 juin 2005 14:58
À : Ant Users List
Objet : <xmltask> problem:

hi again,

im trying to use <xmltask> and I keep getting the following exception:
(make no difference if there is no internal task or not).

[xmltask] org.xml.sax.SAXParseException: Relative URI "xxx.dtd"; can not be resolved without
a base URI. 

My xxx.dtd is found under the same dir as the xml and the xml is valid one.

The xml include dtd reference:

<!DOCTYPE variant_main SYSTEM "xxx.dtd">

Does anyone have any idea how to solve it?

Ty in advance.

 


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


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


Mime
View raw message