- This topic has 5 replies, 3 voices, and was last updated 15 years, 1 month ago by
Brian Fernandes.
-
AuthorPosts
-
Ed ThompsonMemberI have a jboss-app.xml file for jboss 4.2 which looks to be perfectly valid:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jboss-app PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd"> <jboss-app> <module-order>strict</module-order> </jboss-app>
However, Myeclipse 8.5 seems to not like it:
The content of element type "jboss-app" must match "(security-domain?,unauthenticated-principal?,loader-repository?,jmx-name?,module*,security-role*)".
However the DTD at http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd clearly shows:
<!ELEMENT jboss-app (module-order?,security-domain?, unauthenticated-principal?, loader-repository?, jmx-name?, library-directory?, module*, security-role*)>
Which is inconsistent with the error msg, which does not include the module-order element.
Not real sure what this means myeclipse is validating against.
Help?May 4, 2010 at 10:04 am #308136
Ed ThompsonMemberIt’s SOMETHING in my environment, because a peer does not get that error, but for the life of me I don’t know what it is.
May 7, 2010 at 7:19 am #308218
support-joyMemberEdward,
Can you send a sample project to reproduce at our end? Please send a mail to support@genuitec.com with sample project as attachment, add ATTN:Joy in the subject and include reference of this weblink in your mail. This will help in quick tracing.
May 7, 2010 at 12:27 pm #308232
Ed ThompsonMemberSent.
May 10, 2010 at 1:44 am #308261
support-joyMemberEd,
Thank you. Received your email. I shall investigate and get back to you.
May 12, 2010 at 5:12 am #308323
Brian FernandesModeratorEd,
We have an internal XML catalog which is keyed off the Public ID –
-//JBoss//DTD J2EE Application 1.4//EN
Our catalog entry currently points to version 1.4.0 of the same DTD.
To fix this, download the DTD from http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd into a stable location on your machine or place it in your workspace. Go to Window > Preferences > MyEclipse > XML > XML Catalog and click Add. In the location field, browse to the location of the file you just downloaded. Leave the key type at Public ID and specify the same key –
-//JBoss//DTD J2EE Application 1.4//EN
. Alternatively, you could change the key type to URI and specify
http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd
If you click OK, the DTD you specified should now take precedence over the internal DTD that we ship with MyEclipse.
Hope this helps.
-
AuthorPosts