[Home] [By Thread] [By Date] [Recent Entries]

  • To: <xml-dev@l...>
  • Subject: Truncation parsing &lt;
  • From: "Craig H Fry" <craig@z...>
  • Date: Fri, 2 Aug 2002 11:05:37 -0400 (EDT)
  • Importance: Normal
  • Reply-to: craig@z...

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



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member