Pid schrieb:
Stefan wrote:
Christopher Schultz schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stefan,
Stefan wrote:
Christopher Schultz schrieb:
Compare this to XSLT. If you want a stylesheet to emit an '',
don't you
use amp;? And if you want to emit 'amp;' you have to double
Pid wrote:
Stefan wrote:
Christopher Schultz schrieb:
Stefan,
Stefan wrote:
Christopher Schultz schrieb:
Compare this to XSLT. If you want a stylesheet to emit an '',
don't you
use amp;? And if you want to emit 'amp;' you have to double it. I
don't see the difference,
Hello,
for sure, the problem is well known. jspx pages turn the amp; in
simple which causes a lot of problems. See
http://www.lunatech-research.com/archives/2006/01/20/jsp-xml-rant
for details.
How to avoid this problems? Or just live with it?
Thanks
--
Stefan
correct me if i wrong, but isn't amp; forbidden in xml anyway?
Leon
On 2/14/07, Stefan [EMAIL PROTECTED] wrote:
Hello,
for sure, the problem is well known. jspx pages turn the amp; in
simple which causes a lot of problems. See
http://www.lunatech-research.com/archives/2006/01/20/jsp-xml-rant
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
Leon Rosenberg wrote:
correct me if i wrong, but isn't amp; forbidden in xml anyway?
Nope. It's one of the only entities defined in XML (amp;, lt;, gt;,
and quot;, I think).
I'm not sure why the OP thinks this is an error.
If you put amp;
On Wed, 14 Feb 2007 12:24:43 -0500, Leon Rosenberg
[EMAIL PROTECTED] wrote:
correct me if i wrong, but isn't amp; forbidden in xml anyway?
you're wrong.
Leon
On 2/14/07, Stefan [EMAIL PROTECTED] wrote:
Hello,
for sure, the problem is well known. jspx pages turn the amp; in
simple
Ok... you are wrong. An by itself is wrong.
It's a hack, but you end up having to do amp;amp;
Seems like these should be preserved instead of decoded when the output
is x/html. I can see it getting real ugly if you have to process a
document through several transforms. But that's just
Christopher Schultz schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
Seems like these should be preserved instead of decoded when the output
is x/html.
If the 's were preserved, then how would you actually emit an ''
character?
I think that the OP
He doesn't want to see 'amp;', he wants to see '' in his browser rendering
an XHTML document produced by an JSPX page. So, the point of the post was
probably that XHTML serializer of JSPX output should be more XML-like and
serialize '' as 'amp;', not as ''.
On Wednesday 14 February 2007 12:38,
Nicholas Sushkin schrieb:
He doesn't want to see 'amp;', he wants to see '' in his browser rendering
an XHTML document produced by an JSPX page. So, the point of the post was
probably that XHTML serializer of JSPX output should be more XML-like and
serialize '' as 'amp;', not as ''.
On
On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
Seems like these should be preserved instead of decoded when the output
is x/html.
If the 's were preserved, then how would you actually emit an ''
character?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
Seems like these should be preserved instead of decoded when the output
is x/html.
If the 's were preserved, then how would you actually emit an ''
character?
I think that the OP and the author of the rant against JSPXs
David Smith schrieb:
Ok... you are wrong. An by itself is wrong.
It's a hack, but you end up having to do amp;amp;
Seems like these should be preserved instead of decoded when the
output is x/html. I can see it getting real ugly if you have to
process a document through several
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
Leon Rosenberg wrote:
On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote:
If the 's were preserved, then how would you actually emit an ''
character?
#;
the amp; is not xml its html.
It's both, actually.
Btw, isn't allowed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stefan,
Stefan wrote:
but where do I need a single in the generated XML. That's forbidden
a causes the problems. Can You come up a use case?
Oh, I'm not saying that it's a good idea. I actually agree that emitting
a single doesn't make any
Leon Rosenberg schrieb:
On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote:
...
#;
the amp; is not xml its html.
Btw, isn't allowed in html as well, for example in links.
regards
Leon
...
-
To start a new
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stefan,
Stefan wrote:
Christopher Schultz schrieb:
Compare this to XSLT. If you want a stylesheet to emit an '', don't you
use amp;? And if you want to emit 'amp;' you have to double it. I
don't see the difference, and I think that the OP is
On 2/14/07, Stefan [EMAIL PROTECTED] wrote:
Leon Rosenberg schrieb:
On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote:
...
#;
the amp; is not xml its html.
Btw, isn't allowed in html as well, for example in links.
regards
Leon
...
Robert Koberg schrieb:
On Wed, 14 Feb 2007 15:05:02 -0500, Christopher Schultz
[EMAIL PROTECTED] wrote:
Stefan wrote:
but where do I need a single in the generated XML. That's forbidden
a causes the problems. Can You come up a use case?
Oh, I'm not saying that it's a good idea. I actually
Christopher Schultz schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stefan,
Stefan wrote:
but where do I need a single in the generated XML. That's forbidden
a causes the problems. Can You come up a use case?
Oh, I'm not saying that it's a good idea. I actually agree that
On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
Leon Rosenberg wrote:
On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote:
If the 's were preserved, then how would you actually emit an ''
character?
#;
the amp; is not
On Wed, 14 Feb 2007 15:05:02 -0500, Christopher Schultz
[EMAIL PROTECTED] wrote:
Stefan wrote:
but where do I need a single in the generated XML. That's forbidden
a causes the problems. Can You come up a use case?
Oh, I'm not saying that it's a good idea. I actually agree that emitting
a
Christopher Schultz schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stefan,
Stefan wrote:
Christopher Schultz schrieb:
Compare this to XSLT. If you want a stylesheet to emit an '', don't you
use amp;? And if you want to emit 'amp;' you have to double it. I
don't see the
Stefan wrote:
Christopher Schultz schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stefan,
Stefan wrote:
Christopher Schultz schrieb:
Compare this to XSLT. If you want a stylesheet to emit an '', don't
you
use amp;? And if you want to emit 'amp;' you have to double it. I
don't
24 matches
Mail list logo