_wowrapper not terminated
_wowrapper not terminated
- Subject: _wowrapper not terminated
- From: Johan Henselmans <email@hidden>
- Date: Mon, 15 Dec 2008 17:26:21 +0100
After I found out that my components would not want to read because of
some mysterious, untraceable problems with character encodings, I
thought I had tackled most of the problems. Alas, now WebObjects 5.4.3
came back to with a vengeance. Somehow, loading a specific page lead
to the error on the bottom of the page. In 5.3.3 this does not happen,
and the project merrily proceeds without errors.
I assume it has something to do with the parser not understanding how
I am combining different tags, but I do not know.
All I can think of that might cause the problem is a conditional that
creates another body tag depending on a condition:
<webobject name="ConditionalToPayment"><body
onload="init('lnk0','sectionbetalen')"></webobject>
<webobject name="ConditionalNotToPayment"><body
onload="init('lnk0','sectionverkoop')"></webobject>
If somebody knows another reason why this happens...
[2008-12-15 17:6:30 CET] <WorkerThread0>
WOMLDefaultErrorHandler.fatalError(org.xml.sax.SAXParseException: The
element type "_wowrapper_" must be terminated by the matching end-tag
"</_wowrapper_>".)
[2008-12-15 17:6:30 CET] <WorkerThread0>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
com.webobjects.appserver.parser.woml.WOMLTemplateParserException:
Footer: 4:3: The element type "_wowrapper_" must be terminated by the
matching end-tag "</_wowrapper_>".
[2008-12-15 17:6:30 CET] <WorkerThread0>
com.webobjects.appserver.parser.woml.WOMLTemplateParserException:
Footer: 4:3: The element type "_wowrapper_" must be terminated by the
matching end-tag "</_wowrapper_>".
at
com
.webobjects
.appserver
.parser.woml.WOMLTemplateParser.process(WOMLTemplateParser.java:347)
at
com
.webobjects
.appserver
.parser.woml.WOMLTemplateParser.parse(WOMLTemplateParser.java:653)
at
com
.webobjects
.appserver.parser.WOHTMLTemplateParser.parse(WOHTMLTemplateParser.java:
40)
at
com
.webobjects
.appserver
.parser
.WOComponentTemplateParser
.templateWithHTMLAndDeclaration(WOComponentTemplateParser.java:438)
at
com
.webobjects
.appserver
._private.WOComponentDefinition.template(WOComponentDefinition.java:364)
at com.webobjects.appserver.WOComponent.template(WOComponent.java:499)
at
com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
1112)
at
com
.webobjects
.appserver
._private
.WOComponentReference.appendToResponse(WOComponentReference.java:135)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:
126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
1122)
at com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:
1385)
at
com
.webobjects
.appserver.WOApplication.appendToResponse(WOApplication.java:1794)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedPage(WOComponentRequestHandler.java:242)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._handleRequest(WOComponentRequestHandler.java:369)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
.handleRequest(WOComponentRequestHandler.java:442)
at
com
.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:
1687)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at
com
.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:
226)
at java.lang.Thread.run(Thread.java:613)
Caused by: org.xml.sax.SAXParseException: The element type
"_wowrapper_" must be terminated by the matching end-tag "</
_wowrapper_>".
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at
com
.webobjects
.appserver
.parser.woml.WOMLTemplateParser.process(WOMLTemplateParser.java:339)
... 21 more
Regards,
Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6279159
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden