cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinkar Ganti" <dink...@lifeconnect.com>
Subject RE: xlink namespace exception
Date Mon, 10 Sep 2001 22:24:26 GMT
Thank you very much for the hint.

Regards,

Dinkar

-----Original Message-----
From: Jörn Heid [mailto:heid@fh-heilbronn.de]
Sent: Monday, September 10, 2001 5:51 PM
To: cocoon-users@xml.apache.org
Subject: AW: xlink namespace exception


It seems you have forgotten to declare the namespace like
<root-element xmlns:xlink="http://whatever">


-----Urspr√ľngliche Nachricht-----
Von: Dinkar Ganti [mailto:dinkarg@lifeconnect.com]
Gesendet: Montag, 10. September 2001 23:43
An: 'Cocoon-Users
Cc: babam@lifeconnect.com
Betreff: xlink namespace exception


Hello,

I am trying to generate an SVG page that has an xlink. CocoonServlet
exception throws the following exception:

<html xmlns:error="http://apache.org/cocoon/error/2.0">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>:Error creating the resource</title>
</head>
<body bgcolor="#ffffff">
<table cellspacing="2" cellpadding="2" bgcolor="#000000" border="0">
<tbody>
<tr>
<td colspan="2" bgcolor="#0086b2"><font size="+2"
face="arial,helvetica,sanserif" color="#ffffff">Error creating the
resource</font></td>
</tr>
<tr>
<td valign="top" bgcolor="#0086b2"><font size="+1"
face="arial,helvetica,sanserif" color="#ffffff"></font></td><td
bgcolor="#ffffff"><font face="arial,helvetica,sanserif">Failed to execute
pipeline.</font></td>
</tr>
<tr>
<td colspan="2" valign="top" bgcolor="#0086b2"><font size="+1"
face="arial,helvetica,sanserif" color="#ffffff">details</font></td>
</tr>
<tr>
<td valign="top" bgcolor="#0086b2"><font color="#ffffff"
face="arial,helvetica,sanserif">from</font></td><td bgcolor="#ffffff"><font
face="arial,helvetica,sanserif"></font></td>
</tr>
<tr>
<td valign="top" bgcolor="#0086b2"><font color="#ffffff"
face="arial,helvetica,sanserif">source</font></td><td
bgcolor="#ffffff"><font
face="arial,helvetica,sanserif">org.apache.cocoon.ProcessingException</font>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#0086b2"><font face="arial,helvetica,sanserif"
color="#ffffff">description</font></td><td bgcolor="#ffffff"><font
face="arial,helvetica,sanserif">org.apache.cocoon.ProcessingException:
Failed to execute pipeline.:org.apache.cocoon.ProcessingException: Failed to
execute pipeline.:org.xml.sax.SAXParseException: The namespace prefix
"xlink" was not declared.</font></td>
</tr>
<tr>
<td colspan="2" valign="top" bgcolor="#0086b2"><font size="+1"
face="arial,helvetica,sanserif" color="#ffffff">extra info</font></td>
</tr>
<tr>
<td valign="top" bgcolor="#0086b2"><font face="arial,helvetica,sanserif"
color="#ffffff"></font></td><td bgcolor="#ffffff">
<pre>org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:org.xml.sax.SAXParseException: The namespace prefix "xlink" was
not declared.</pre>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#0086b2"><font face="arial,helvetica,sanserif"
color="#ffffff"></font></td><td bgcolor="#ffffff">
<pre>org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:org.xml.sax.SAXParseException: The namespace prefix "xlink" was
not declared.&#13;
	at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:228)&#13;
	at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:344)&#13;
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2464)&#13;
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1447)&#13;
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:175)&#13;
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:94)&#13;
	at org.apache.cocoon.Cocoon.process(Cocoon.java:293)&#13;
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)&#13;
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&#13;
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)&#13
;
	at org.apache.tomcat.core.Handler.service(Handler.java:287)&#13;
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)&#13;
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)&#13;
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)&#13;
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)&#13;
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)&#1
3;
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)&#
13;
	at java.lang.Thread.run(Thread.java:484)&#13;
org.xml.sax.SAXParseException: The namespace prefix "xlink" was not
declared.&#13;
	at
org.apache.cocoon.components.parser.JaxpParser.error(JaxpParser.java:141)&#1
3;
	at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1186)&#13;
	at
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttribute
s(XMLValidator.java:3640)&#13;
	at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1155)&#13;
	at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1862)&#13;
	at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1238)&#13;
	at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)&#13;
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)&#13;
	at
org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:72)&#13
;
	at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)&
#13;
	at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:220)&#13;
	at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:344)&#13;
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2464)&#13;
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1447)&#13;
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:175)&#13;
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:94)&#13;
	at org.apache.cocoon.Cocoon.process(Cocoon.java:293)&#13;
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)&#13;
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&#13;
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)&#13
;
	at org.apache.tomcat.core.Handler.service(Handler.java:287)&#13;
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)&#13;
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)&#13;
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)&#13;
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)&#13;
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)&#1
3;
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)&#
13;
	at java.lang.Thread.run(Thread.java:484)&#13;


The exception seems to be thrown while validating the XML document. Is there
a mechanism to disable "validating" the document?

Any help will be greatly appreciated.


Thanks,

Dinkar



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message