facebook

Wrong !DOCTYPE in Application.xml [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #212542 Reply

    [seen under weblogic 6.1]

    When you create an ear with J2EE 1.3 the doctype is invalid :

    weblogic.xml.process.XMLProcessingException: The public id, “-//Sun Microsystems, Inc. //DTD J2EE Application 1.3//EN”, specified in the XML document is invalid. – with nested exception:
    [weblogic.xml.process.ProcessorFactoryException: The public id, “-//Sun Microsystems, Inc. //DTD J2EE Application 1.3//EN”, specified in the XML document is invalid.]
    at weblogic.j2ee.dd.xml.J2EEUtils.loadDeploymentDescriptor(J2EEUtils.java:107)
    […]

    The correct one is the following (the difference is the space between . and //).

    <!DOCTYPE application PUBLIC “-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN”http://java.sun.com/dtd/application_1_3.dtd”&gt;

    Guillaume BINET.

    #212611 Reply

    Riyad Kalla
    Member

    I just tried this locally and did not recieve a validation error… can you walk me through your steps exactly?

    #212669 Reply

    Install a plain eclipse 3.0, install the 3.8GA, create an J2EE 1.3 ejb, and an ear.

    deploy it under weblogic 6.1 SP6 and it will refuse because of the extra space in the public id.

    GB.

    #212672 Reply

    Riyad Kalla
    Member

    Ahh Weblogic is complaining, sorry I didn’t catch that. I’ll report this ASAP.

    #213188 Reply

    Scott Anderson
    Participant

    The issues discussed in this thread were addressed in MyEclipse 3.8.1

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Wrong !DOCTYPE in Application.xml [Closed]

You must be logged in to post in the forum log in