[GeoNetwork-devel] [GeoNetwork opensource Developer website] #561: Attributes are not correctly escaped in xml view.

#561: Attributes are not correctly escaped in xml view.
----------------------------------+-----------------------------------------
Reporter: justinrowles | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: User interface (web) | Version: v2.6.4
Keywords: |
----------------------------------+-----------------------------------------
An element:
    <myElement myAttr="one&two"/>

should be escaped to:
    <myElement myAttr="one&amp;two"/>

when the user enters the xml edit tab. Currently the attribute is not
escaped which leads to immediate failure when moving away from the xml
edit tab, as the content is not valid xml and cannot be reparsed.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/561&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.