[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Problems moving from 1.7.4 to 2.0.1

Hi everybody,

I'm trying to move from wml V1.7.4 to 2.0.1 and I'm having a few problems.
Since I'm not that familiar with wml yet and couldn't find any suitable
hints in the docs (which doesn't mean there aren't any), maybe somebody
out here can point me in the right direction.

So far I compiled and installed 2.0.1. Is that enough, or do I have to
explicitely remove 1.7.4 first to prevent clashes?

I do get lots of warnings like these:

/usr/local/lib/wml/exec/wml_p2_mp4h: Warning:/tmp/wml.19590.tmp2.wml:2:
unknown syntax `defsubst' in <let>
/usr/local/lib/wml/exec/wml_p2_mp4h: Warning:/tmp/wml.19590.tmp2.wml:2:
unknown syntax `define-tag' in <let>
/usr/local/lib/wml/exec/wml_p2_mp4h: Warning:/tmp/wml.19590.tmp2.wml:3:
unknown syntax `defmacro' in <let>
/usr/local/lib/wml/exec/wml_p2_mp4h: Warning:/tmp/wml.19590.tmp2.wml:3:
unknown syntax `define-container' in <let>
/usr/local/lib/wml/exec/wml_p2_mp4h: Warning:/tmp/wml.19590.tmp2.wml:4:
unknown syntax `prog' in <let>

I'm not sure why I get them, I assume they relate to the move to mp4h and
specifically the inclusion of /usr/local/lib/wml/include/sys/bootp2.wml,
but I don't know why I get them.

All my wml files first #include an include file of my own, which in turn
contains all the necessary #use commands, then starts to define some
frequently-needed tags. V2.0.1 complains during the ePerl pass about the
"@" in the following example:

<define-tag myemail> 
<a href="mailto:me@my.com">me@my.com</a> 

I have to replace that with 

<define-tag aspemail> 
<a href=\"mailto:info@aspetersen.de\">info@aspetersen.de</a> 

(i.e. escape the quotes), is that a side-effect of the change to mp4h
too, or is that due to an updated ePerl?

On another note: README.mp4h contains this example, which I don't

 With mp4h,
 <define-tag foo>Here:%attributes!!</foo>
 <foo "x <foo "1" "2"> y>"
 Arg1:y Attrs:x Arg1:2 Attrs:1 2!! y!!
Before I dig into that one: is there maybe something missing?

Thanks in advance for any pointers,


Stephan Petersen                           sp@gtt.lth.rwth-aachen.de

>-=-=-=- Visit GTT's Technical Thermochemistry Web Page at =-=-=-=-<
>-=-=-=-      http://gttserv.lth.rwth-aachen.de/gtt/       =-=-=-=-<

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com