You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alessandro Marcellini <am...@tiscalinet.it> on 2001/05/03 10:46:24 UTC
Preserve html
Hi All,
In some pages of the site I'm building I use Cocoon and XML only to
build a HTML
document pasting together different entities.
But trought this way I think that the html code is not preserved:
I include some javascript in my pages (<script language="Javascript"
src="file.js"></script>) so in IE on MacOS the script on this page don't
works; but if I paste together the different entities manually and serve
the page as html, so no trought Cocoon, the script on the page works
properly.
What's happen?
Any suggestion?
There may be some encoding problem?
Can I avoid the problem, using unparsed entities? (I tried without
success: Illegar reference of unparsed entity!)
Thank's in advance
Alessandro Marcellini
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Cocoon xerces VisualAge for Java Incompatible document type!
Posted by Moursli Nabil <pr...@cite-sciences.fr>.
Hi all,
I installed cocoon 1.8.2 under tomcat 3.2.1 everythings goes OK, test, code
and example. I did the same for VisualAge 3.02. The examples runs alright.
Exept when I got to use my own code on Visual age, I get this error on all
the document creation in my code, for example when I do something like:
org.apache.xerces.parsers.DOMParser parser = new
org.apache.xerces.parsers.DOMParser();
parser.parse(xmlFile);
Document document = parser.getDocument();
I get this exception.
java.lang.IllegalArgumentException: PAR002 Class,
"org.apache.xerces.dom.DocumentImpl", is not of type org.w3c.dom.Document.
org.apache.xerces.dom.DocumentImpl
Any clue with be great.
Thx.
nabil.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>