Re: Bug in Apache::ASP XMLSubs when an argument includes '>'-characte rs?

2000-08-28 Thread Joshua Chamas
My personal feeling about XMLSubs is that it should take the code out of the HTML to some perl library. So to use an XMLSub with perl expression as the args to the tag though possible is not what I would recommend. To do what you want below, I would recommend having all of the logic in the perl

RE: Bug in Apache::ASP XMLSubs when an argument includes '>'-characte rs?

2000-08-28 Thread Bryan McGuire
ED]' Cc: 'Joshua Chamas' Subject: RE: Bug in Apache::ASP XMLSubs when an argument includes '>'-characte rs? Joshua Chamas wrote: > > I think > is just about the only thing that you can't use as > a character in the attributes for an XMLSubs and that'

RE: Bug in Apache::ASP XMLSubs when an argument includes '>'-characte rs?

2000-08-28 Thread Henrik Tougaard
Joshua Chamas wrote: > > I think > is just about the only thing that you can't use as > a character in the attributes for an XMLSubs and that's because > it gets parsed with an aggressive ( or stupid ;) regexp like: > > $$data =~ s|\<\s*($self->{xml_subs_match})([^\>]*)/\> Pity! I would

Re: Bug in Apache::ASP XMLSubs when an argument includes '>'-characte rs?

2000-08-24 Thread Joshua Chamas
Henrik Tougaard wrote: > > > XML attributes can't contain "<" or "&" characters, or the > > same quote that > > they are surrounded by. The following are the encodings you can use > > (and XMLSubsMatch needs to unravel): > > > > < => "<" > > > => ">" > > & => "&" > > " => """ > > '

RE: Bug in Apache::ASP XMLSubs when an argument includes '>'-characte rs?

2000-08-15 Thread Matt Sergeant
On Tue, 15 Aug 2000, Henrik Tougaard wrote: > > XML attributes can't contain "<" or "&" characters, or the > > same quote that > > they are surrounded by. The following are the encodings you can use > > (and XMLSubsMatch needs to unravel): > > > > < => "<" > > > => ">" > > & => "&" > >

RE: Bug in Apache::ASP XMLSubs when an argument includes '>'-characte rs?

2000-08-15 Thread Henrik Tougaard
> From: Matt Sergeant [mailto:[EMAIL PROTECTED]] > On Fri, 11 Aug 2000, Henrik Tougaard wrote: > > With this simple .asp page I get an error: > > > > > > [My XMLSubMatch is set to Fiks:\w+ - the name of the > subroutine doesn't > > matter] > > > > It seems as if the '>' in the '' argumen