I think I have fixed the issue in 1.x. See: 
http://mail-archives.apache.org/mod_mbox/tuscany-user/200902.mbox/%3caee0c2f4f369489db657439f8246b...@rfengt60p%3e.
 Can you check if the tld in 2.x is the same as 1.x?

Thanks,
Raymond


From: ant elder 
Sent: Tuesday, March 03, 2009 12:22 AM
To: [email protected] 
Subject: JSP taglib DOCTYPE problem


Does anyone know what the problem may be with the JSP taglib that causes the 
below warning in some environments? You can see the problem by running the jsp 
itest itest\distribution\webapp-helloworld-jsp, its caused by the DOCTYPE in 
the sca.tld in implementation-web-runtime, removing the DOCTYPE and the warning 
goes away.

   ...ant

2009-03-02 08:11:03.562::WARN:  
fa...@http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd line:2 col:2 
: org.xml
.sax.SAXParseException: The markup declarations contained or pointed to by the 
document type declaration must be well-fo
rmed.
2009-03-02 08:11:03.562::WARN:  EXCEPTION
org.xml.sax.SAXParseException: The markup declarations contained or pointed to 
by the document type declaration must be
well-formed.
        at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
        at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown Source)
        at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at org.mortbay.xml.XmlParser.parse(XmlParser.java:188)
        at org.mortbay.xml.XmlParser.parse(XmlParser.java:204)
        at 
org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:217)
        at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1188)
        at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:481)
        at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:434)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
        at org.mortbay.jetty.Server.doStart(Server.java:210)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.codehaus.cargo.container.jetty.internal.JettyExecutorThread.run(JettyExecutorThread.java:68)

Reply via email to