DO NOT REPLY [Bug 34123] New: - Xindice retrieve-doc/add-doc fails to complete roundtrip
| Newsgroups | gmane.text.xml.xindice.devel |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34123>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34123
Summary: Xindice retrieve-doc/add-doc fails to complete roundtrip
Product: Xindice
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: blocker
Priority: P2
Component: Driver: embed
AssignedTo: [email protected]
ReportedBy: [email protected]
Problem detected in use of: xindice-1.1b4 - commandline tool
Caveat: I put this on product component "driver:embed" as there is no
"commandline tool" component in the form.
Step 1:
Adding a document with explicitly given encoding iso-8859-1 works fine:
xindice ad -c xmldb:xindice://localhost:8080/db/foo/ -n 36.xml -f 36.xml
Step 2:
Retrieving that document works fine:
xindice rd -c xmldb:xindice://localhost:8080/db/foo/ -n 36.xml -f 36a.xml
But as this doc now has no encoding specified, and still seems to be iso-8859-1
encoded, it cannot be added like in step 1. Result:
"ERROR : Invalid byte 2 of 3-byte UTF-8 sequence."
Hence it is impossible to make a roundtrip add-doc + retrieve-doc + add-doc.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.