[WSG] lotus domino vs doctype

2004-06-02 Thread matt sawkill
Hi,
I've been engaged to produce some standards compliant xhtml templates 
for a largish website for a legal firm.
The programming and backend is being handled by another company - at 
the clients request they are using the 'Lotus Workplace Web Content 
Management' system (nee Aptrix) which is being integrated/built on top 
of Lotus Domino.

It turns out that Domino can only generate the following html 4 doctype 
with no url - !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 
Transitional//EN

Found some confirmation of this here:
http://www.notestips.com/80256B3A007F2692/1/TAIO-5V5LQN
http://www.notestips.com/80256b3a007f2692/1/taio-5v73sc
Which puts ie into quirks mode, and doesn't let me write xthml strict 
either - obviously not a good thing when the site needs to be.

Panic ensues.
Anyone else come across this and have and advice/reliable hacks?
Cheers,
Matt

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



Re: [WSG] lotus domino vs doctype

2004-06-02 Thread matt sawkill
Great idea, but i can't get it to work -
Have tried
window.document.childNodes[0].nodeValue = '!DOCTYPE html PUBLIC 
-//W3C//DTD XHTML 1.1//EN \n 
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd;';

and similar in ie6, but the document stays in quirks mode.
Any ideas or working examples of a doctype change?
Also other browsers are returning the html tag not the doctype as the 
first node in the document.

Cheers
On 3 Jun 2004, at 13:47, Jeff Lowder - Accessibility 1st wrote:
With regard to the DOCTYPE, you could use a DOM script to re-write it,
if you like (I'd be wary though - you might end up with more in-valid
pages than not).
I would first start with whatever the CMS can output easily (least
work), if that's HTML 4.0 then go with that - as this is still a
completely valid DOCTYPE - you don't necessarily have to go with XHTML
strict.
HTML 4.01 STRICT might actually be a better/easier way to go anyway.
Whatever DOCTYPE you use - just make sure it's a valid one, i.e.
!DOCTYPE HTML PUBLIC-//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
Cheers
Jeff Lowder
Accessibility 1st
Website: www.accessibility1st.com.au
Blog: www.accessibility1st.com.au/journal/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of matt sawkill
Sent: Thursday, 3 June 2004 12:26 PM
To: [EMAIL PROTECTED]
Subject: [WSG] lotus domino vs doctype
Hi,
I've been engaged to produce some standards compliant xhtml templates
for a largish website for a legal firm.
The programming and backend is being handled by another company - at
the clients request they are using the 'Lotus Workplace Web Content
Management' system (nee Aptrix) which is being integrated/built on top
of Lotus Domino.
It turns out that Domino can only generate the following html 4 doctype
with no url - !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
Transitional//EN
Found some confirmation of this here:
http://www.notestips.com/80256B3A007F2692/1/TAIO-5V5LQN
http://www.notestips.com/80256b3a007f2692/1/taio-5v73sc
Which puts ie into quirks mode, and doesn't let me write xthml strict
either - obviously not a good thing when the site needs to be.
Panic ensues.
Anyone else come across this and have and advice/reliable hacks?
Cheers,
Matt

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*