[Chameleon-dev] [Bug 1540] New: XMLObject.php uses htmlentities which generates invalid XML

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Mon Jul 31 09:44:14 EDT 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1540

           Summary: XMLObject.php uses htmlentities which generates invalid
                    XML
           Product: Chameleon
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at xs4all.nl


in XMLObject.php, when using the writeObject function, htmlentities is called
which results in invalid XML.

UTF-8 characters (for eg ö) are transformed to ö, which is not
allowed in XML ofcourse.

This call to htmlentities needs to be removed:

            //$szReturn .= htmlentities( $this->value );
            $szReturn .= $this->value;

php_utils
/xml_utils/XMLObject.php



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list