Re: render error for navbar in XHTML
Shlomi Fish <[email protected]> Thu, 5 May 2005 23:09:13 +0300
| Newsgroups | gmane.comp.web.wml |
|---|---|
| Message-ID | <[email protected]> |
Maybe you should specify --passoption=2,-X3074 instead of --passoption=2-X? Otherwise wml has problems with un-closed tags within mp4h macros. I should also note that you may wish to take a look at HTML::Widgets::NavMenu (shameless plug, sorry) as an alternative to wml::des::navbar: http://web-cpan.berlios.de/modules/HTML-Widgets-NavMenu/ See here for a working code: http://web-cpan.berlios.de/latemp/examples/ Regards, Shlomi Fish On Thursday 05 May 2005 22:11, Werner Heuser wrote: > Hello, > > I am trying to convert my HTML sources to XHTML. But when using the WML > navbar feature, I stumble into an error I couldn't yet resolve. Here is > what happens when trying the Classic Navigation Bar example from the > documentation for wml::des::navbar(3). > > Werner > > wml -W2,--expansion=0 -o foo.html foo.wml > mp4h: Warning:./nb.inc:7: `</navbar:header>' found when `</tr>' expected > mp4h: Warning:./nb.inc:10: `</navbar:prolog>' found when `</td>' expected > mp4h: Warning:./nb.inc:11: `</navbar:prolog>' found when `</td>' expected > mp4h: Warning:./nb.inc:11: `</navbar:define>' found when `</td>' expected > mp4h: ERROR:./nb.inc:11: EOF when reading body of the <td> tag > ** WML:Break: Error in Pass 2 (rc=1). > > wml -V > This is WML Version 2.0.8 (30-Oct-2001) -- --------------------------------------------------------------------- Shlomi Fish [email protected] Homepage: http://www.shlomifish.org/ Hacker sees bug. Hacker fixes bug. _____________________________________________________________________ Website META Language (WML) http://thewml.org User Support Mailing List [email protected] Automated List Manager [email protected]