• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: _wowrapper not terminated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _wowrapper not terminated


  • Subject: Re: _wowrapper not terminated
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 15 Dec 2008 10:58:41 -0800


On Dec 15, 2008, at 8:26 AM, Johan Henselmans wrote:


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...

No idea, you could try moving the conditional to Java and the body tag to a WOGenericContainer:



Body: WOGenericContainer { elementName = "body"; // Just guessing here, check with content assist onload = onLoadScript; }

If that fixes it, submit a bug report.

Chuck



}



[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


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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
  • Follow-Ups:
    • Re: _wowrapper not terminated (solved)
      • From: Johan Henselmans <email@hidden>
References: 
 >_wowrapper not terminated (From: Johan Henselmans <email@hidden>)

  • Prev by Date: Re: StackOverflowError in _NSWeakMutableArray?
  • Next by Date: Long response web service
  • Previous by thread: _wowrapper not terminated
  • Next by thread: Re: _wowrapper not terminated (solved)
  • Index(es):
    • Date
    • Thread