Has anyone successfully validated their Luminis portal code? Just curious. We're on III.3.3 and there is no doctype declaration found and no character encoding found among other things during testing.
We have made our's more valid, but we would need to go through all of the templates for all of the channels to get it to all validate. I would be happy to get it out of quirks mode.
I've completely hacked up the luminis presentation UI (a post for another day) so it looks nothing like Luminis anymore. It uses DIVs instead of tables and that is now causing a TON of issues with IE. I can either get it perfect in Firefox and it doesn't fit right in IE, or tweak it for IE and it's all misaligned in Firefox. So I need to get it out of quirks mode.
I just came across this post and tried it out.
When I added this : org.jasig.portal.MediaManager.omit_doctype=no
I get this in my source now -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
Submitted by rob.chevalier on Mon, 2010-03-08 18:57.
Does anybody know where the default dtd string 'http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd' is defined? Is it in a file or in LDAP? I would just like to update this string and that's all. Many Thanks, Rob Chevalier Lane Community College
We have made our's more
We have made our's more valid, but we would need to go through all of the templates for all of the channels to get it to all validate. I would be happy to get it out of quirks mode.
They're working on this...
...allowing a doctype declaration that is. I can't believe I'm the first person to ask Sungard for this, but taking the following steps didn't work:
1. Add the following line to nested-tables.xsl
2. Update portal.properties in the uportal.jar file with the following line:
org.jasig.portal.MediaManager.omit_doctype=noThe targeted version for a fix is LP III.3.3 MR 6 and I guess they may get a fix for LP IV too.
I'll be a happier standards compliance bunny when it's fixed.
Progress ?
Has there been any progress with getting a DOCTYPE in Luminis?
close ...
I've completely hacked up the luminis presentation UI (a post for another day) so it looks nothing like Luminis anymore. It uses DIVs instead of tables and that is now causing a TON of issues with IE. I can either get it perfect in Firefox and it doesn't fit right in IE, or tweak it for IE and it's all misaligned in Firefox. So I need to get it out of quirks mode.
I just came across this post and tried it out.
When I added this : org.jasig.portal.MediaManager.omit_doctype=no
I get this in my source now -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
I added to the nested-tables.xsl file :
<xsl:output
method="xml"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" indent="yes"
/>
but that didn't seem to matter, it still displays the loose.dtd
still looking...
It's a defect
We've come across this too. It does indeed ignore the doctype you specify, preferring HTML 4.01.
I think Sungard are working on a fix for LP IV.
default doctype dtd
Does anybody know where the default dtd string 'http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd' is defined? Is it in a file or in LDAP? I would just like to update this string and that's all. Many Thanks, Rob Chevalier Lane Community College