Re: BUG: WO 5.4 combined template parser + XML declaration
Re: BUG: WO 5.4 combined template parser + XML declaration
- Subject: Re: BUG: WO 5.4 combined template parser + XML declaration
- From: Guido Neitzer <email@hidden>
- Date: Thu, 7 Feb 2008 10:46:05 -0700
On 07.02.2008, at 01:58, Ravi Mendis wrote:
Error:
com.webobjects.appserver.parser.woml.WOMLTemplateParserException
exception
Reason:
com.webobjects.appserver.parser.woml.WOMLTemplateParserException:
Main: 1:19: The processing instruction target matching "[xX][mM]
[lL]" is not allowed.
Wrap your XML in a component that uses old style bindings.
For example:
XML-Component:
<wo:Wrapper>
[your xml]
</wo:Wrapper>
Wrapper.hmtl:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
">
<webobject name = "ComponentContent" />
Wrapper.wod:
ComponentContent: WOComponentContent {}
We had that a couple of times here.
cug
--
Real-World WebObjects class at the Big Nerd Ranch
March 2008, Frankfurt, Germany
http://www.bignerdranch.com/classes/webobjects.shtml
_______________________________________________
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