I guess you haven't seen this email from Pierre:

The new parser is only used for the all in one syntax. The old parser is used for the traditional bundle. The switch is made automatically when the component loader detect a non existent or empty wod file. A world of caution about the structure of the templates if you use the new syntax. The new parser uses SAX and therefore expects the template to be syntactically xml compliant code. Of course if you use the traditional parser this does not matter.

Cheers

Pierre
--
Pierre Frisch
[EMAIL PROTECTED]

Regards,

Jake


On 31 Oct 2007, at 15:40, Amedeo Mantica wrote:

ok, but I'm not using Project Wonder...
any suggestion?
Thanks
Amed


On 31/ott/07, at 12:45, Mike Schrag wrote:

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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]

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

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/jake.macmullin%40bbc.co.uk

This email sent to [EMAIL PROTECTED]


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
                                        
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to