The DTD should be resolved locally, as long as you're correctly declaring the DOCTYPE.
If it is correct and it still attempts to validate across the network, it's a bug.
What does your DOCTYPE declaration look like?
View the original post :
Although it probably should resolve locally in case of deployment on jboss, it still
is a PITA now the dtd's have been removed from www.jboss.org. For instance, xslt
preprocessing of jboss*.xml files now fails if I don't remove the DOCTYPE declaration.
View the original post :
How are you doing your XSLT processing? XSL parsers should be able to deal with local
copies of DTDs just as well as XML parsers do. For instance, if you're using ANT, you
can declare a local catalog of DTDs with the element.
View the original post :
xmlcatalog element,
damn parsers.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835762#3835762
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835762
---
This SF.Net
Indeed.
Now, setting up a local repos for DTD requires some more setup on our side that was
previously kindly done by www.jboss.org. :-)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835766#3835766
Reply to the post :
Given that all documents on the net are subject to webrot, you'll be better off doing
it locally whenever possible.
Don't know what the plan is on putting the DTDs back to their old locations.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835768#3835768
I am using dom4j 1.4 to analyze that file, so that my Swing GUI automatically knows
which data entry (datatype, max number of bytes, etc.) is allowed for a certain field.
I also tried
| SAXReader reader = new SAXReader();
| reader.setValidation(false);
|
but the error persists:
mbeyer73 wrote :
| Why isn't the DTD available anymore?
Like I said, I don't know when/if the DTDs are going back online. Roy is busy doing a
lot of things at the moment.
I would, however, recommend that you reconsider your application design. Are you sure
you want to build a Swing GUI that
I just found out, that the JBoss server itself doesn't care about the document type
declaration. So simply removing the !DOCTYPE line from jbosscmp-jdbc.xml solves my
problem.
Nevertheless I feel strange about that. Shouldn't JBoss validate the file?!
View the original post :
It won't be able to since you removed the DOCTYPE (which you shouldn't do).
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835789#3835789
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835789
10 matches
Mail list logo