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

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


  • Subject: WO 5.4 new parser (inline bindings) removing DOCTYPE and XML declaration
  • From: "Oswaldo Bueno" <email@hidden>
  • Date: Thu, 13 Dec 2007 16:09:58 -0200

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: WO 5.4 new parser (inline bindings) removing DOCTYPE and XML declaration
      • From: "Les Vogel" <email@hidden>
  • Prev by Date: Entity Modeler Reverse Engineer
  • Next by Date: Re: Entity Modeler Reverse Engineer
  • Previous by thread: Re: Deploying a WOLips Framework project
  • Next by thread: Re: WO 5.4 new parser (inline bindings) removing DOCTYPE and XML declaration
  • Index(es):
    • Date
    • Thread