You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by CLAVIER Remi RD-CORE-LAN <re...@francetelecom.com> on 2005/06/29 14:01:08 UTC

RE: 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