You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by Larry Mulcahy <lm...@qip.qwest.net> on 2001/04/12 18:20:14 UTC
Does $ESCAPE work for other people?
When I run DOMPrint.pl from the samples directory, the
output comes out looking like (first couple of lines):
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE rss PUBLIC '-//Netscape Communications//DTD RSS 0.91//EN' >
<rss version="0.91">
.
.
.
Since the default setting of $ESCAPE is 1, shouldn't this output look
like:
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE rss PUBLIC '-//Netscape Communications//DTD RSS 0.91//EN'
>
<rss version="0.91">
--
Larry Mulcahy lmulcahy@qip.qwest.net
PGP public key at:
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x2C4C5A03
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
Re: Does $ESCAPE work for other people?
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
Hi Larry,
Looking at the code, $ESCAPE is used for escaping string values only,
so CDATA in attributes, or text between tags.
I don't even think the parser could handle something like:
<?xml version='1.0' encoding='utf-8' ?>
jas.
BTW, the XMLDecl that DOMPrint.pl produces is hard-coded. I checked in
a changed last night to CVS that fixes that, and I also tracked down
and stomped the bug that was causing the irritating warnings from
perlErrorHandler::DESTROY(). I'll cut 1.3.4 soon.
"Larry Mulcahy" <lm...@qip.qwest.net> writes:
> When I run DOMPrint.pl from the samples directory, the
> output comes out looking like (first couple of lines):
>
> <?xml version='1.0' encoding='utf-8' ?>
> <!DOCTYPE rss PUBLIC '-//Netscape Communications//DTD RSS 0.91//EN' >
> <rss version="0.91">
> .
> .
> .
>
> Since the default setting of $ESCAPE is 1, shouldn't this output look
> like:
>
> <?xml version='1.0' encoding='utf-8' ?>
> <!DOCTYPE rss PUBLIC '-//Netscape Communications//DTD RSS 0.91//EN'
> >
> <rss version="0.91">
>
>
> --
> Larry Mulcahy lmulcahy@qip.qwest.net
> PGP public key at:
> http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x2C4C5A03
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org