• 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: BUG: WO 5.4 combined template parser + XML declaration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >BUG: WO 5.4 combined template parser + XML declaration (From: Ravi Mendis <email@hidden>)

  • Prev by Date: Re: Serializing collections
  • Next by Date: Re: Serializing collections
  • Previous by thread: Re: BUG: WO 5.4 combined template parser + XML declaration
  • Next by thread: Wonder 4 and JAVA/WO versions
  • Index(es):
    • Date
    • Thread