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

BUG REPORT: Website META Language 1.7.4 (06-Oct-1999)

__        ___  __ _     
\ \      / / \/  | |      Website META Language
 \ \ /\ / / |\/| | |      Version 1.7.4 (06-Oct-1999)
  \ V  V /| |  | | |___ 
   \_/\_/ |_|  |_|_____|  BUG REPORT

From:     Stefan Scholl
Reply-To: stesch@linux.de


wml_p1_ipp: Problem with nested `Use Default String' 
            in variable expansion

I have two simple Files:

#include 'inctop.wml' title="Seitentitel" headtitle="Eine Testseite"

Nur ein Test.


#use wml::std::page

<page slices info>

<title>$(title:-no title)</title>

<h1>$(headtitle:-$(title:-no title))</h1>

All output is OK, except the H1-line:

<h1>Eine Testseite)</h1>

See the ")"? When I omit the 'headtitle="Eine Testseite"' from the
file intest.wml wml produces the follwing output:


This is correct. 

Used WML System:
Built Environment:
    Host: i586-pc-linux-gnu2
    Perl: 5.005_02 (/usr/local/bin/perl)
    User: root@parsec
    Date: 07-Nov-1999
Built Location:
    Prefix: /usr/local
    BinDir: /usr/local/bin
    LibDir: /usr/local/lib/wml
    ManDir: /usr/local/man

Used Perl System:
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
    osname=linux, osvers=2.2.5, archname=i586-linux
    uname='linux pascal 2.2.5 #79 tue jan 19 12:41:20 met 1999 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    cc='cc', optimize='-O2 -pipe', gccversion=egcs-2.91.66 19990314 (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=define, 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 -lndbm -lgdbm -ldb -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 Apr  4 1999 20:00:53
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com