You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Jeremy Morgan <ai...@mac.com> on 2004/03/04 17:38:45 UTC

sax and carriage returns

Why am i getting random carriage returns in my output?  I can't find 
anything anywhere on why I'm getting these.  Here is an example:

input:
<rights>
http://www.exploratorium.edu/about/use_policy.html
</rights>

output:
<dc:rights xsi:type="dcterms:URI">
http://www.exploratorium.e
du/about/use_policy.html
</dc:rights>

--Jeremy Morgan


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: sax and carriage returns

Posted by Joseph Kesselman <ke...@us.ibm.com>.



Most likely error: Remember that SAX does *NOT* promise that contiguous
context text will be delivered as a single call to characters(). It may
occur as several successive calls, for buffer management reasons. It's the
application's responsibiltiy to deal with gluing it back together, if
needed.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org