Hi Maksym,
please just have a look at my origin posting for this thread. The serialization
output looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<testcase name="testcasename" time="19:00:12">
<error type="This is the testcase description: a tag <descriptiontag> !!"
>This is the error text with the <errortag> !!</error>
</testcase>
There you hopefully can see that there is a closing "<" directly after the
"descriptiontag" word and a closing "<" in the next line as the first letter
which then closes the "error" tag. My fuc*** M$ Outlook badly wrapped the
pasted output - I'm sorry!
- Zeljko
-----Original Message-----
From: Maksym Kovalenko [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 20:17
To: [EMAIL PROTECTED]
Subject: Re: escaping does not work properly
I might be wrong but does '>' -- right before the !! relate to the text node
inside the 'error' element, doesn't it?
It was produced with the following lines
String errortext = "This is the error text with the <errortag> !!";
mSerializer.characters(errortext.toCharArray(), 0, errortext.length());
And I still don't see closing '>' for the open tag of the 'error' element.
Joseph Kesselman wrote:
On Wednesday, 07/09/2003 at 12:46 AST, Maksym Kovalenko
<[EMAIL PROTECTED]> wrote:
Why in this xml example start tag of 'error' element doesn't end with
'>'?
<error type="This is the testcase description: a tag
<descriptiontag> !!"
This is the error text with the <errortag> !!</error>
There is a '>' -- right before the !!.
The real question is why "This is the error text with the <errortag" is
being output before it rather than after it.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Maksym Kovalenko
Software Engineer
Marketswitch Corporation
http://www.marketswitch.com
108 Powers Court, Suite 225
Dulles, VA 20166
Phone: +1 (703) 444-6750 ext. 302
Fax: +1 (703) 444-6812
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]