xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kazi the P i R @ t {-" <k...@ewarna.com>
Subject using XSP : element ???
Date Thu, 16 Aug 2001 08:30:11 GMT
i am trying to use the <xsp:attribute> thing to put attributes into a
statically marked element. but ever since i put those in... i am getting an
error messge from the browser when i try to call the page... Has anyone ever
used these xsp elements b4?? maybe you can give me some pointers on its
use...

My code:
                <product>
               <xsp:attribute name="id">
                 <xsp:expr>temp_bullet</xsp:expr>
/*temp_bullet is a java variable of course*/
               </xsp:attribute>


My Error:

org.xml.sax.SAXParseException: The content of elements must consist of
well-formed character
                data or markup.
     at
org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
     at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1037)
     at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
ntScanner.java:625)
     at
org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanne
r.java:679)
     at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1245)
     at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:380)
     at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
     at org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:85)
     at
org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
     at
org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.jav
a:78)
     at org.apache.cocoon.Engine.handle(Engine.java:359)
     at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
     at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
     at org.apache.tomcat.core.Handler.service(Handler.java:286)
     at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
     at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
     at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
     at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
     at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
     at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
     at java.lang.Thread.run(Thread.java:484)


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message