[Moin-devel] [ moin-Bugs-531617 ] no valid html/xhtml

noreply at sourceforge.net noreply at sourceforge.net
Tue Mar 19 05:48:07 EST 2002


Bugs item #531617, was opened at 2002-03-18 23:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108482&aid=531617&group_id=8482

Category: None
Group: None
Status: Open
Resolution: Wont Fix
Priority: 6
Submitted By: Ronny Buchmann (rbla)
Assigned to: Nobody/Anonymous (nobody)
Summary: no valid html/xhtml

Initial Comment:
as everybody knows moinmoin doesn't produce valid html.
i consider this a bug. i have a patch for valid html
4.01 transitional code.
the patch is safe (i think) and doesnt change look,
with one exception: the search buttons cant have
attributes like images (hspace, border etc), only css
is allowed, but netscape 4.x doesnt understand it
right, so it looks a bit different (borders!).

please test and apply (at least the other chunks)

ronny

----------------------------------------------------------------------

>Comment By: Ronny Buchmann (rbla)
Date: 2002-03-19 14:47

Message:
Logged In: YES 
user_id=91363

so heres the next patch: moinmoin-xhtml.1.patch

issues adressed:
* namespace for <html>
* elements and attributes only lowercase
* empty elements (br, hr, meta, img, input)
* empty attributes (nowrap, checked)
* all attribute values with quotes
i hope to have found all occurences

issues not adressed:
* no closing tag for <p>
 (is there some magic involved? i dont find my way through
the code here, but i assume it's easy for you, jürgen)
* printing of xml header and dtd (trivial)


----------------------------------------------------------------------

Comment By: Ronny Buchmann (rbla)
Date: 2002-03-19 08:42

Message:
Logged In: YES 
user_id=91363

no, your change to Page.py isnt enough.
and i dont think it makes sense to use string.replace to
correct typos. (but if your going to actually use url() and
link_to(), then i dont have a problem)

and if you want xhtml, thats no problem.
i'll start making some diffs

----------------------------------------------------------------------

Comment By: Jürgen Hermann (jhermann)
Date: 2002-03-18 23:49

Message:
Logged In: YES 
user_id=39128

much easier to fix is at ONE place in url() and link_to()

the inline search forms will NOT be fixed, because they are 
how they are intentionally

for any remaining issues you might reopen the bug (do diffs 
against current CVS), but don't hold your breath; as we 
approach XHTML compliance and templating, the issue isn't 
worth any major effort on current code.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108482&aid=531617&group_id=8482




More information about the Moin-devel mailing list