You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Rob Di Marco (JIRA)" <ji...@codehaus.org> on 2005/06/24 21:35:52 UTC
[jira] Created: (MAVEN-1637) Problem resolving entities in project.xml file
Problem resolving entities in project.xml file
----------------------------------------------
Key: MAVEN-1637
URL: http://jira.codehaus.org/browse/MAVEN-1637
Project: maven
Type: Bug
Components: cli
Environment: Mandrake Linux 10.2, i686 Pentium 4, Linux Kerne 2.6.11-6mdk
Java version 1.5.0.01
Reporter: Rob Di Marco
Fix For: 1.1-beta-1
Attachments: output.txt, sample.tgz
When I try to include entities from a different file into my project.xml, I am getting an error saying "could not resolve entity".
This same setup works fine in maven 1.0.2.
Attached is a tar file that contains an example that reproduces the problem. To reproduce the problem:
1) Unzip/tar the attached file named sample.tgz
2) cd into the sample directory
3) Run maven
EXPECT: maven to complete successfully
RESULT: Error about not resolving the entity is thrown.
Also attached is an output.txt file that shows the error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MAVEN-1637) Problem resolving entities in project.xml file
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1637?page=all ]
Brett Porter closed MAVEN-1637:
-------------------------------
Resolution: Won't Fix
Fix Version: (was: 1.1-beta-1)
The parser we are using doesn't support it, and we have taken the view that entities should not be allowed as POMs should be able to exist in forms other than XML, and so need to capture all the information themselves.
http://maven.apache.org/reference/backwards-compatibility.html
http://maven.apache.org/faq.html#using-entities
We had intended to allow the use of an alternate parser (crimson/xerces built-in), but this was not completed for 1.1-beta-1.
If you think you have a use case that requires entities, please refer it to the maven users list, and we'll look into it or a suitable alternative.
> Problem resolving entities in project.xml file
> ----------------------------------------------
>
> Key: MAVEN-1637
> URL: http://jira.codehaus.org/browse/MAVEN-1637
> Project: maven
> Type: Bug
> Components: cli
> Environment: Mandrake Linux 10.2, i686 Pentium 4, Linux Kerne 2.6.11-6mdk
> Java version 1.5.0.01
> Reporter: Rob Di Marco
> Attachments: output.txt, sample.tgz
>
>
> When I try to include entities from a different file into my project.xml, I am getting an error saying "could not resolve entity".
> This same setup works fine in maven 1.0.2.
> Attached is a tar file that contains an example that reproduces the problem. To reproduce the problem:
> 1) Unzip/tar the attached file named sample.tgz
> 2) cd into the sample directory
> 3) Run maven
> EXPECT: maven to complete successfully
> RESULT: Error about not resolving the entity is thrown.
> Also attached is an output.txt file that shows the error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org