DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12921>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12921 Bug in Serialization - Document corrupted after serialization Summary: Bug in Serialization - Document corrupted after serialization Product: Xerces2-J Version: 2.0.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: Serialization AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi, I'm building a Document with the DOM API using JAXP factories and Xerces impl. The Document contains Namespace declaration, the Namespace is used in some Elements not in all them. After the Document pass a serialization it corrupted. All Elements got ":" before their name its like Empty Namesapce. I.E. Valid Document: <?xml version="1.0" encoding="UTF-8"?> <Response> <CAP> <Address-Books xmlns:vCard="CAP_vCard_v3.0"> <Address-Book contacts-counter="16" view="true"> <Contact entry-id="00004"> <vCard:Nickname>8888</vCard:Nickname> <Name-Text-DTMF>8888</Name-Text-DTMF> <vCard:Email email.id="1" mail.type="inet">[EMAIL PROTECTED]</vCard:Email> <Time-Stamp>09/03/2002 16:50:40.000</Time-Stamp> <Creation-Date>09/04/2002 13:07:32.000</Creation-Date> <vCard:Country>de</vCard:Country> </Contact> </Address-Book> </Address-Books> </CAP> </Response> Corrupted Document: <?xml version="1.0" encoding="UTF-8"?> <Response> <CAP> <:Address-Books xmlns:vCard="CAP_vCard_v3.0"> <:Address-Book contacts-counter="16"> <:Contact entry-id="00039"> <vCard:Nickname>8888</vCard:Nickname> <:Name-Text-DTMF>8888</:Name-Text-DTMF> <vCard:Email email.id="1" email.type="inet">[EMAIL PROTECTED]</vCard:Email> <:Time-Stamp>09/03/2002 16:50:40.000</:Time-Stamp> <:Creation-Date>09/04/2002 13:07:32.000</:Creation-Date> <vCard:Country>de</vCard:Country> </:Contact>...... As you can see it's not a valid document but somehow Xerces succeed deserialize the document. Can you help me with it please, its Urgent. 10x, Yaron Avisror. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
