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

BUG REPORT: Website META Language 1.99.1 (16-Mar-2000)



__        ___  __ _     
\ \      / / \/  | |      Website META Language
 \ \ /\ / / |\/| | |      Version 1.99.1 (16-Mar-2000)
  \ V  V /| |  | | |___ 
   \_/\_/ |_|  |_|_____|  BUG REPORT
_________________________________________________________

From:     Anthony Fok
Reply-To: foka@ualberta.ca

PROBLEM DESCRIPTION:

    wml_p1_ipp would fail if the input file (or its included files) contains

	?$(name)

    i.e., a question mark before the variable.  WML 1.7.4 didn't seem to
    have this problem.  The bug showed up when I tried processing a page
    with a link to a graphical counter:

	<IMG src="http://www.ualberta.ca/htbin/Geo-counter.gif?$(counter).gif">

    where counter="ualberta-reg-fok1000-olvc", for example.

    Also, the "$" is escaped if preceded by a "\" regardless of the number
    of "\"s.  For example, if test.wml contains the following lines:

	$(name:#string)
	0 $(name)
	1 \$(name)
	2 \\$(name)
	3 \\\$(name)
	4 \\\\$(name)

    the resulting test.html would be:

	0 string
	1 $(name)
	2 \$(name)
	3 \\$(name)
	4 \\\$(name)

    whereas most people would probably expect the output to be:

	0 string
	1 $(name)
	2 \string
	3 \\$(name)
	4 \\string

    Or, perhaps I am getting too picky?  :-)

    Thanks in advance.

PLATFORM CHARACTERISTICS:
Used WML System:
Built Environment:
    Host: i586-pc-linux-gnu2
    Perl: 5.005_03 (/home/foka/debian/wml-1.99.1/wml_test/TEST.root/bin/perl)
    User: foka@ualberta.ca
    Date: 17-Mar-2000
Built Location:
    Prefix: /home/foka/debian/wml-1.99.1/wml_test/TEST.root
    BinDir: /home/foka/debian/wml-1.99.1/wml_test/TEST.root/bin
    LibDir: /home/foka/debian/wml-1.99.1/wml_test/TEST.root/lib/wml
    ManDir: /home/foka/debian/wml-1.99.1/wml_test/TEST.root/man

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