[jboss-jira] [JBoss JIRA] Issue Comment Edited: (JBAS-7292) jboss.dtd is missing definition for ignore-dependency
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Wed Feb 16 10:33:13 EST 2011
[ https://issues.jboss.org/browse/JBAS-7292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582675#comment-12582675 ]
Carlo de Wolf edited comment on JBAS-7292 at 2/16/11 10:33 AM:
---------------------------------------------------------------
To use jboss.xml it should contain a namespace declaration:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<jboss
xmlns="http://www.jboss.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee
http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
version="3.0">
...
</jboss>
{code}
was (Author: wolfc):
To use jboss.xml it should contain a namespace declaration:
<?xml version="1.0" encoding="UTF-8"?>
<jboss
xmlns="http://www.jboss.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee
http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
version="3.0">
...
</jboss>
> jboss.dtd is missing definition for ignore-dependency
> -----------------------------------------------------
>
> Key: JBAS-7292
> URL: https://issues.jboss.org/browse/JBAS-7292
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: EJB3
> Affects Versions: JBossAS-5.1.0.GA
> Environment: jboss.xml with doctype definition of:
> <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.2//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd">
> or
> <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 5.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd">
> Reporter: Larry O'Leary
> Assignee: Carlo de Wolf
>
> When using <ignore-dependency /> in jboss.xml for an EJB3 and attempting to validate the XML document against the DTD, an error is thrown indicating ignore-dependency is not a valid element for <ejb-ref>. Looking through the DTD, the element does not exist.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list