Joern, 

we use something like that to include external xml fragments : 

<!ENTITY inherited-dependencies SYSTEM
"file:../mevenide-ui-eclipse/pom-fragments/inherited-dependencies.xml">

it works under xp and linux.

-- gd


Quoting J�rn Gebhardt <[EMAIL PROTECTED]>:

> Hi,
> 
> we encounter the following very strange problem that occurs only under
> Windows XP:
> 
> We have a project.xml that looks like this:
> 
>   <?xml version="1.0"?>
> 
>   <!DOCTYPE dependencies [
>     <!ENTITY ProductDependencies SYSTEM "../product-dep.xml">
>   ]>
> 
>   <project
>       xmlns:j="jelly:core">
>   ...
>       <dependencies>
>           <!-- insert dependencies from ../product-dep.xml file -->
>           &ProductDependencies;
>   ...
>      </dependencies>
>   ...
>   </project>
> 
> I.e. we want to include some entries in the dependencies section from
> another file. As this works perfectly fine under Windows 2000 and Windows NT
> it causes the following problem under Windows XP:
> 
> java.net.UnknownHostException:
> 
> 
> For some strange reasons Xerces tries to open a FTP connection under XP
> instead of just reading the file. Has anybody an idea what is going on here
> and why this problem occurs only under Windows XP? I've consulted already
> the Xerces mailing list, but got no answers. 
> Or are there any other ways to include the same set of dependencies in
> multiple POMs without using inheritance?
> 
> Thanks in advance,
> Joern
> 



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

Reply via email to