J�rn Gebhardt wrote on Wednesday, March 17, 2004 3:30 PM:
> 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>
Hi J�rn,
I am not sure, what's the entitiy resolver's problem, but I have found a workaround
that works in Linux and Win XP as well:
My POM contains:
<!DOCTYPE project [
<!ENTITY % entities-locator SYSTEM "file:locator.ent"> %entities-locator;
]>
and every directory, that has a POM that includes entities has a local "locator.ent"
file with the following content (path adjusted):
<!ENTITY % project-entities SYSTEM "file:../entites/project.ent"> %project-entities;
with this indirection I got this working. If I put file:/../entities/project.ent
directly in the POM I get a domain exception in XP.
Regards,
J�rg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]