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

Re: BUG REPORT: Website META Language 2.0.6 (25-Oct-2000)



On Sun, Apr 22, 2001 at 04:49:26AM +0000, Kurt Zeilenga wrote:
> 
> htmlfix appears to be trimming the trailing "/" from unquoted attributes.
> 
> The following input:
> 
> <ol>
> <li><a href=/>BAD</a>
> <li><a href=/ >GOOD</a>
> <li><a href="/">GOOD</a>
> <li><a href=http://www.example.net/>BAD</a>
> <li><a href=http://www.example.net/ >GOOD</a>
> <li><a href="http://www.example.net/">GOOD</a>
> <li><a href=http://www.example.net/foo/>BAD</a>
> <li><a href=http://www.example.net/foo/ >GOOD</a>
> <li><a href="http://www.example.net/foo/">GOOD</a>
> </ol>
> 
> produces
> 
> <ol>
> <li><a href=>BAD</a>
> <li><a href="/">GOOD</a>
> <li><a href="/">GOOD</a>
> <li><a href="http://www.example.net">BAD</a>
> <li><a href="http://www.example.net/">GOOD</a>
> <li><a href="http://www.example.net/">GOOD</a>
> <li><a href="http://www.example.net/foo">BAD</a>
> <li><a href="http://www.example.net/foo/">GOOD</a>
> <li><a href="http://www.example.net/foo/">GOOD</a>
> </ol>
> 
> Note the 1,4,7 list items.

Hi Kurt,

this is due to mp4h and not htmlfix, in order to allow processing of
XHTML documents. I could not provide a solution to distinguish between
xml trailing slashes and slashes being part of last attribute, sorry.

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