>
> This page works fine in 1.3.4, but fails with 2.0b5:
>
> [2422]ERR: 49: index.html(32): Endtag '/ul' doesn't match starttag 'dl'
>
> The line in question is the first </UL>, which is out of sequence in the
> source code but will be placed in sequence in the output. The code does
> compile ok when I munge the code to put all tags in "correct" nested
> sequence. I realize that 2.0b5 requires nesting to be correct, but
> surely this only applies to the final output, not to the source code?

No it applies to the source! Otherwise Embperl is not able to create valid
Perl code out of it.

But only HTML tags that Embperl recogizes must be in corect order. The UL
and DL tags are recogized in case they contain a dynamic table.

> The conditionals and loops such as what I have above will often contain
> situations such as this.
>

You can turn parsing html tag temporarily off to work around this. Write

[$ syntax EmbperlBlocks $]

to only parse [ ] blocks and

[$ syntax Embperl $]

to again parse everything.

> I have checked the output from the page under 1.3.4, and the HTML
> appears to be formatted correctly.
>

That's because 1.3 and 2.0 creates totaly different Perl code. The benefit
of the 2.0 way, is that it is much faster and that [* *] blocks works
correctly.

> Is this a bug, or am I doing something wrong here?
>

This is not a bug of Embperl, but by design. It's a incompatible change from
1.x to 2.x

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to