[
http://jira.jboss.com/jira/browse/JBDEPLOY-47?page=all ]
Ales Justin resolved JBDEPLOY-47.
---------------------------------
Resolution: Done
All xml parsing deployers now use InputSource, where we use InputStream directly and also
set systemId.
In order to make include work, we also needed to be able to apply features on
parsers/unmarshallers.
See UnmarshallerFactoryDeployer for details.
Parsing deployers should pass the URI to the parser
---------------------------------------------------
Key: JBDEPLOY-47
URL:
http://jira.jboss.com/jira/browse/JBDEPLOY-47
Project: JBoss Deployers
Issue Type: Bug
Components: parsing
Affects Versions: JBDEPLOY-2.0.0.Beta15
Reporter: Adrian Brock
Assigned To: Ales Justin
Fix For: JBDEPLOY-2.0.0.CR1
The parsing deployers, e.g. JAXPDeployer, JAXBDeployer, JBossXB deployers, etc.
should be passing the URI of the xml document such that relative urls can be resolved,
e.g. for entities and XInclude
Currently they are opening and passing streams which means all entities get resolved
against the current
working directory.
See the forum thread for more details.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira