WO 5.4 new parser (inline bindings) removing DOCTYPE and XML declaration
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"
****************
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