• 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: WO 5.4 new parser (inline bindings) removing DOCTYPE and XML declaration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO 5.4 new parser (inline bindings) removing DOCTYPE and XML declaration


  • Subject: Re: WO 5.4 new parser (inline bindings) removing DOCTYPE and XML declaration
  • From: "Les Vogel" <email@hidden>
  • Date: Fri, 14 Dec 2007 15:33:41 -1000

Yep, it's a known bug. Add a space between your <p> </p>, the lack of !DOCTYPE is also annoying.

On 12/13/07, Oswaldo Bueno < email@hidden> wrote:
Hi,
   I'm staring a new project on WO 5.4 and decided to use the new inline bindings.

   I have a component with the following first lines:

****************
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns=" http://www.w3.org/1999/xhtml" xml:lang="en">

****************

   When WO parses and renders this component, it only outputs:

****************
<html>
****************

   The new inline bindings parser also converts "<p></p>" to "<p/>" automaticaly, resulting on a poorly rendered page on a web browser if it doesn't find the doctype instruction.


   It only happens when using the new inline bindings, if I use the old style on .wo file, the old parser doesn't screws the html.


   How can I output DOCTYPE and XML instructions with the new parser?


   Should I give up on WO5.4 inline bindings and start using Wonder's WOOGNL?


Thanks,
   Bueno


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (



--
Les Vogel
808 870-0418
 _______________________________________________
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: 
 >WO 5.4 new parser (inline bindings) removing DOCTYPE and XML declaration (From: "Oswaldo Bueno" <email@hidden>)

  • Prev by Date: RE: Anyone know of a good resource for WOML?
  • Next by Date: Re: EOF Adaptor for Amazon's SimpleDB?
  • Previous by thread: WO 5.4 new parser (inline bindings) removing DOCTYPE and XML declaration
  • Next by thread: returning PDF via appendToResponse
  • Index(es):
    • Date
    • Thread