Bugs item #1111539, was opened at 2005-01-28 16:06 Message generated for change (Comment added) made by nkowalcz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1111539&group_id=16035
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Entities munged when serializing DOM to file Initial Comment: We're reading a DOM in from an input file; the file contains XHTML entities such as , & , etc. After we serialize the DOM to another file, the output file contains the entities in a rendered fashion. E.g. gets replaced with the actual space, etc. We believe the serialization should preserve the representation the same way it's specified in the input file, or there should be an option to have the serialization render the entities or not. We're attaching a simple Java tester class as well as the input and output files. Please let us know if there are any workarounds. Thanks. ---------------------------------------------------------------------- Comment By: NataliaK (nkowalcz) Date: 2005-01-31 19:55 Message: Logged In: YES user_id=1190387 The serialization preserves or resolves entities depending on the state of the resolveEntityRefs flag of XMLWriter. The flag is set to true by default causing the entities to be rendered. If the flag is set to false the entities are escaped. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1111539&group_id=16035 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ dom4j-dev mailing list dom4j-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-dev