Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Leopard - WO 5.4



If you want to use Apple's new parser, your templates need to be well-formed XML.  I believe you can actually switch back to the old style parser (or use Project Wonder's when the 5.4 build goes up on the build server), but I don't recall the classname of the old parser offhand -- anyone?

ms

On Oct 31, 2007, at 7:34 AM, Amedeo Mantica wrote:

I opened an "old" WebObject project and I have this problem ...

The ploblem is clear... but there is a method to bypass the html validation??

one more thing,... my HTML... is HTML and not XTML, and i use doctype, why parser is raising these exceptions?

Thank You
Regards
Amedeo


Re-enter
apellSite  Exception Description
Application: apellSite
 com.webobjects.appserver.parser.woml.WOMLTemplateParserException: Main: 5:7: The element type "meta" must be terminated by the matching end-tag "</meta>".
File Line# Method Package
WOMLTemplateParser.java 345 process com.webobjects.appserver.parser.woml
WOMLTemplateParser.java 504 parse com.webobjects.appserver.parser.woml
WOHTMLTemplateParser.java 40 parse com.webobjects.appserver.parser
WOComponentTemplateParser.java 239 templateWithHTMLAndDeclaration com.webobjects.appserver.parser
WOComponentDefinition.java 386 template com.webobjects.appserver._private
WOComponent.java 501 template com.webobjects.appserver
WOComponent.java 1111 appendToResponse com.webobjects.appserver
Main.java 21 appendToResponse it.apell.pages
WOSession.java 1381 appendToResponse com.webobjects.appserver
WOApplication.java 1785 appendToResponse com.webobjects.appserver
Application.java 46 appendToResponse it.apell.pages
WOComponentRequestHandler.java 242 _dispatchWithPreparedPage com.webobjects.appserver._private
WOComponentRequestHandler.java 298 _dispatchWithPreparedSession com.webobjects.appserver._private
WOComponentRequestHandler.java 332 _dispatchWithPreparedApplication com.webobjects.appserver._private
WOComponentRequestHandler.java 369 _handleRequest com.webobjects.appserver._private
WOComponentRequestHandler.java 442 handleRequest com.webobjects.appserver._private
WOApplication.java 1678 dispatchRequest com.webobjects.appserver
Application.java 34 dispatchRequest it.apell.pages
WOWorkerThread.java 144 runOnce com.webobjects.appserver._private
WOWorkerThread.java 226 run com.webobjects.appserver._private
Thread.java 613 run java.lang
 Caused by: org.xml.sax.SAXParseException: The element type "meta" must be terminated by the matching end-tag "</meta>".

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden

References: 
 >Problem with Leopard - WO 5.4 (From: Amedeo Mantica <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.