Yes, this is a xml parser bug, I'll check this out in a
couple weeks when I get back from vacation.
--Joshua
--- Dmitry Beransky <[EMAIL PROTECTED]> wrote:
> Consider the following markup:
>
> <%@language="PerlScript"%>
> <%
> my $prolog= '<?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE xform [
> <!ATTLIST string name ID #REQUIRED>
> <!ATTLIST group name ID #REQUIRED>
> ]>';
> %>
> <html>
> <body>
> Prolog: <pre><%=$Server->HTMLEncode($prolog)%></pre>
> </body>
> </html>
>
> when I run this, the XML declaration is missing in the output. I
> think
> this is somehow related to the XMLSubsParser. Not sure if my
> diagnosis is
> correct, but I can fix the problem by breaking the declaration into
> two
> pieces. I think this should be considered a bug.
>
> Cheers
> Dmitry
>
>
>
>
>
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/