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=597>. 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=597 _preroot Vector is not serialized when calling serialize(Element) [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2001-11-01 06:22 ------- I looked in the javadocs and it clearly says "Serializes the DOM element..." for serialize(Element). Anyways. When you use serialize(Document), you may have PI and DOCTYPEs and thus, serializePreRoot() to serialize them. If you use serialize(Element), that Element can be any element of the complete DOM tree. Why should PI or DOCTYPEs get serialized in this case!!. It could be possible that you are using the same serializer, to serialize only specific elements of the DOM tree. In that case, *if* PI/DOCTYPEs are also serialized with serialize(Element) then you have multiple PIs and DOCTYPEs!!. There is a clear difference between serialize(Document) and serialize(Element). The former is used to serialize a complete DOM, whereas the latter is used to serialize, a portion of DOM starting from the specified Element. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
