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

Bug report - Pass 2: <group> tag



+------------------------------------------------------+
| Please complete this bug report message by at least  |
| specifing the correct reply-to e-mail address and    |
| the detailed problem description.                    |
+------------------------------------------------------+
__        ___  __ _
\ \      / / \/  | |      Website META Language
 \ \ /\ / / |\/| | |      Version 2.0.0 (11-May-2000)
  \ V  V /| |  | | |___
   \_/\_/ |_|  |_|_____|  BUG REPORT
_________________________________________________________

From:     Franz Knipp
Reply-To: franz@knipp.org

PROBLEM DESCRIPTION:

Pass 2: <group> Tag

Unexpected behavior in comparison to old <prog> tag:

<if "<get-var option>" <group
        <TR>
        <TD ALIGN=RIGHT>Option: <get-var option></TD>
        </TR>
>>

Output (with option unset):

<TDOption: </TD>
        </TR>
>>

Output (with option set):

<TROption: no</TD>
        </TR>
>>

Solution:

Use of quotation marks - the tag seems to work right in the following way:

<if "<get-var option>" <group
        "<TR>
        <TD ALIGN=RIGHT>Option: <get-var option></TD>
        </TR>"
>>

This is reported as error because:

* the <prog> from wml::sys::compat1 is not compatible this way

* this behavior seems unlogical to me and is not explained in the
documentation

PLATFORM CHARACTERISTICS:
Used WML System:
Built Environment:
    Host: i686-pc-linux-gnu2
    Perl: 5.005 (/usr/bin/perl)
    User: fknipp@tornado.upv.es
    Date: 15-May-2000
Built Location:
    Prefix: /users/fknipp/wml
    BinDir: /users/fknipp/wml/bin
    LibDir: /users/fknipp/wml/lib
    ManDir: /users/fknipp/wml/man

Used Perl System:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.5-22smp, archname=i386-linux
    uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2
09:11:51 edt 1999 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Built under linux
  Compiled at Aug 30 1999 23:09:51
  @INC:
    /usr/lib/perl5/5.00503/i386-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i386-linux
    /usr/lib/perl5/site_perl/5.005
    .




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