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 protected])
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