Page 1 of 1

Two confusing points

Posted: Sun May 25, 2003 12:50 am
by nycjjedi
I am having some trouble getting Oxygen2.0.1 to work for me.

Oxygen keeps flagging what I believe are phantom issues in the editor.

The following document definition causes an error in my document which keeps it from being validated:

<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
"http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd">

In addition, the output window errorneously display some problems that are actually not in the document. The errors are not attached to the document. When I change to another document the output window still displays the previous window. In fact I can change or close that document and the old errors are stilled displayed.

Any help that you can provide with these issues is greatly appreciated.

Thanks-
Rodney

Additional info on my problem

Posted: Sun May 25, 2003 4:33 pm
by nycjedi
The weird thing about the dtd problem that is displayed within my document is that my document won't pass the well formed test or validation if the line DOCTYPE line is included.

Oxygen prints the following error message:

[ejb-jar_2_0.dtd] F The markup declarations contained or pointed to by the document type declaration must be well-formed.

Since this is the standard DOCTYPE I believe this is an error but ending the declaration with /> results in:

[ejb-jar.xml] F The document type declaration for root element "ejb-jar" must end with '>'.(3.1)

And finally commenting out the defintion all together results in the document passing the well-formed test but producing the following error on the screen.

[ejb-jar.xml] E cvc-elt.1: Cannot find the declaration of element 'ejb-jar'. (4:1).

If you want I will more than happy to send you the document so that you can verify weird behavior that I am seeing .

Thanks-
Rodney

Problem solved

Posted: Sun May 25, 2003 8:51 pm
by nycjedi
Sorry, I just realized that the dtd definition that I copied was wrong. The address of the dtd should have been ...sun./com/dtd/ejb-jar_2_0.dtd and not ...sun.com/j2ee etc.

Thanks-
Rodney