I have been trying to test the limits of the nice new XMLSub feature in
Apache::ASP, and seem to have discovered a bug.
With this simple .asp page I get an error:
<Fiks:test Start="<b>"> </Fiks:test>
[My XMLSubMatch is set to Fiks:\w+ - the name of the subroutine doesn't
matter]
It seems as if the '>' in the '<b>' argument confuses the parser.
The compiled perl script is (reformatted for readability - somewhat -
everything
was on one line!):
package Fiks::Web; ;;
sub Fiks::Web::_bruger_ht00_Fagsys_www_orgvalg_fejl_aspxINL {
;; @_ = (); ;;
no strict;;
use vars qw($Application $Session $Response $Server $Request);;
Fiks::test({ Start=>"<b }, '" >'); ; ;; }
The error is:
Can't find string terminator "'" anywhere before EOF at (eval 140) line 1,
<GEN10> line 1.
Is this a (mis)feature or a parser bug?
Regards
Henrik Tougaard, [EMAIL PROTECTED]
Forbundet af Offentligt Ansatte, Copehagen, Denmark.