[jboss-dev-forums] [Design of JBoss Eclipse IDE (dev)] - XML Validation Error
otasyn
do-not-reply at jboss.com
Tue Jan 30 13:28:42 EST 2007
This may be useless to someone else, so I am making this post.
If eclipse is set to validate XML and the XML files direct the validation to "http://java.sun.com/xml/ns/j2ee" then you probably receive an error that j2ee_web_services_client_1_1.xsd could not be validated.
If so, this is because something in JBoss (or Eclipse) is attempting to parse the file j2ee.htm at this location. In this file, the old URL is commented out and a new one is written directly after it. However, the parser logic doesn't seem to take into account the html comments. To fix this, host j2ee.htm on your local machine and remove the commented sections. Replace the link in your XML file, with the path to you local machine. I, personally, loaded it onto my own web site, but I don't see why it wouldn't work locally.
I am fairly new to this, especially JBoss, so if I am missing something, or if this seems to be just a completely useless post, then feel free to ignore this.
Otasyn
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008435#4008435
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008435
More information about the jboss-dev-forums
mailing list