ant-user mailing list archives

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


-----Original Message-----
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 [] 
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:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message