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

Old Q/A

Hi folks,

below are answers to some questions posted here.
I am writing some comments in the FAQ, performing more tests on WMk and
if everything is fine, i plan to release WML-1.7.0 next week.


=== Q: Why does this fail?
| <lang:area> 
| (de) Referenziere: <lang:star:href: index.*.html|index.html>
| (en) Referencing : <lang:star:href: index.*.html|index.html>
| </lang:area> 

+++ A: With Slice 1.3.2, it was not possible to have nested slices with
the same name, like in [X: foo [X:bar:]:]
It has been fixed in slice 1.3.3 which is included in wml 1.7.0
_But_ take care on how to generate output files:
#!wml -o (ALL-LANG_*)+LANG_EN-LANG_DE:%BASE.en.html \
      -o (ALL-LANG_*)+LANG_DE-LANG_EN:%BASE.de.html
When you have more than 2 languages, it becomes unreadable.

An idea is to add another wildcard, to expand to all values except a
given string. For instance, LANG_*!EN could expand to all LANG_* except
LANG_EN. The shebang line is then
#!wml -o ALL-LANG_*!EN:%BASE.en.html -o ALL-LANG_*!DE:%BASE.de.html

I have to think of a good syntax for this operator, so any comments are
=== Q: Installation failed on Solaris
Can't load 
for module IO: ld.so.1: /opt/gnu/lib/wml/exec/wml_p3_eperl: fatal:
relocation error: file 
+++ A: None. No idea about this problem
=== Q: Why there is no error when an epilog filter fail?

+++ A: It has been fixed. All failures (in prolog, epilog, ...) now
raise exceptions and abort execution.

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