[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:     Thomas Akin
Reply-To: takin@kennesaw.edu


The std::toc include file uses pass 6 area substitutions internally 
which break when you use a <protect pass=6> around the <toc> tag...

For Example...

The code

	#include wml::std::toc style=ol

	<protect pass=6>
	<toc_h1>Chapter 1</toc_h1>
	<toc_h1>Chapter 2</toc_h1>
	<toc_h1>Chapter 3</toc_h1>

has this as the output:

	<ol><li><a href="#ToC1"><strong>Chapter 1</strong></a>
	<ol><li><a href="#ToC2"><strong>Chapter 2</strong></a>
	<ol><li><a href="#ToC3"><strong>Chapter 3</strong></a>
	<a name="ToC1">Chapter 1</a>
	<a name="ToC2">Chapter 2</a>
	<a name="ToC3">Chapter 3</a>

I believe that in 1.7.2 that the code

	<protect pass=6>

worked correctly. 

I looked briefly into this and it seems to be due to the 
wml_include/std/toc.src file relying on pass 6 to perform some of its
formatting... but for the next month I am going to overworked so I can't
look into it further...



Used WML System:
Built Environment:
    Host: sun4u-sun-solaris2.7
    Perl: 5.005_03 (/local/bin/perl)
    User: takin@Aramis.kennesaw.edu
    Date: 20-Oct-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 3) configuration:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos aramis 5.7 generic_106541-02 sun4u sparc sunw,ultra-5_10 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    cc='gcc', optimize='-O', gccversion=2.8.1
    ccflags ='-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=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

Characteristics of this binary (from libperl): 
  Built under solaris
  Compiled at Jul  6 1999 17:32:21
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com