[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: Is META-INF in the classpath?
adrian@jboss.org
do-not-reply at jboss.com
Thu May 29 14:34:35 EDT 2008
"adrian at jboss.org" wrote : This looks like a problem with the new SARDeployer.
|
Well actually the problem is in the JAXPDeployer that it uses.
Ironically, it is setting up an InputSource with the URI but then not using it :-)
|
| InputStream is = openStreamAndValidate(file);
| try
| {
| DocumentBuilder parser = getDocumentBuilderFactory().newDocumentBuilder();
| InputSource source = new InputSource(is);
| source.setSystemId(file.toURI().toString());
| parser.setEntityResolver(new JBossEntityResolver());
|
| // HERE it passes the stream instead of the source :-)
| return parser.parse(is);
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154430#4154430
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154430
More information about the jboss-dev-forums
mailing list