[jboss-jira] [JBoss JIRA] Commented: (JBAS-7292) jboss.dtd is missing definition for ignore-dependency
Larry O'Leary (JIRA)
jira-events at lists.jboss.org
Wed Feb 16 10:21:13 EST 2011
[ https://issues.jboss.org/browse/JBAS-7292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582666#comment-12582666 ]
Larry O'Leary commented on JBAS-7292:
-------------------------------------
This is a bit alarming. Are we saying that we do not support the use of jbos.xml in an EJB3? If I create jboss.xml as per the XML spec and use the DTD for as the spec recommends, my EJB will not deploy to JBoss due to the invalid XML (it not conforming to the DTD).
If this is really the case then we need to remove support for ignore-dependency as this extension is preventing an EJB from being used without asking the user to ignore the spec.
> 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