Using a navbar with --passoption=2,-X
Shlomi Fish <[email protected]>
| Newsgroups | gmane.comp.web.wml |
|---|---|
| Message-ID | <[email protected]> |
Hi! I'm trying to use a navigation bar and generate XHTML output. The navbar renders fine without the --passoption=2,-X flag but with it I get the following errors: <<< (cd src && wml --passoption=2,-X --passoption=7,"-S imgsize" -DROOT~. -DFILENAME=about.html about.html.wml) > dest/about.html mp4h: Warning:../template.wml:34: `</navbar:header>' found when `</ul>' expected mp4h: Warning:../template.wml:37: `</navbar:prolog>' found when `</li>' expected mp4h: Warning:../template.wml:38: `</navbar:prolog>' found when `</b>' expected mp4h: Warning:../template.wml:38: `</navbar:define>' found when `</b>' expected mp4h: ERROR:../template.wml:38: EOF when reading body of the <b> tag ** WML:Break: Error in Pass 2 (rc=1). make: *** [dest/about.html] Error 1 >>> My code is this: <<< <navbar:define name="test" imgbase="img/" urlbase="$(ROOT)"> <navbar:header> <ul class="navbarmain"> </navbar:header> <navbar:prolog><li></navbar:prolog> <navbar:prolog type="S"><li><b></navbar:prolog> <navbar:button id="about.html" txt="About" url="about.html" hint="About this site" /> <navbar:button id="tutorials/index.html" txt="Online Tutorials" url="tutorials/" /> <navbar:button id="books/index.html" txt="Books" url="books/" hint="Books you can read" /> <navbar:epilog></li></navbar:epilog> <navbar:epilog type="S"></b></li></navbar:epilog> <navbar:footer> </ul> </navbar:footer> </navbar:define> . . . <navbar:render name="test" select="$(FILENAME)" nohints /> >>> What can I do to resolve this? Regards, Shlomi Fish ---------------------------------------------------------------------- Shlomi Fish [email protected] Home Page: http://t2.technion.ac.il/~shlomif/ An apple a day will keep a doctor away. Two apples a day will keep two doctors away. Falk Fish _____________________________________________________________________ Website META Language (WML) http://thewml.org User Support Mailing List [email protected] Automated List Manager [email protected]