← Prev in month ← Prev in thread

Truncation parsing <

From
Craig H Fry <>
To
Date
2002-08-02T15:05:37Z
ID
<>
Thread
Truncation parsing &lt;
I am having a problem with truncation when trying to parse an element that
contains &lt;
I can recreate the problem with &amp; and &gt; also

Here is a sample of what I am parsing

<element>Shipping Address (&lt; 31)</element>

When parsed, all I get is 31)

When I do println to see what is happening, it is actually parsing in what
looks like 2 steps. Step one parses up to the &lt;.  It then parses the
raming portion of the element, overwritting the value it just parsed.
When parsing a normal element, it only does one step and everything turns
out fine.
And input would be appreciated,

Craig Fry
Programmer/QC
Zenplex

http://tambora.zenplex.org
← Prev in month ← Prev in thread