Bug #15471 Updated: XML parser do not let use '<' in any attribute inside XML file

From: Date: Sat, 09 Feb 2002 21:23:26 +0000
Subject: Bug #15471 Updated: XML parser do not let use '<' in any attribute inside XML file
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-79844@lists.php.net to get a copy of this message
ID: 15471 Updated by: sander@php.net -Summary: XML parser do not let use '<' in any attribute inside XML file Reported By: francis@vulcanonet.com Status: Bogus Bug Type: XML related Operating System: Windows XP PHP Version: 4.1.0 New Comment: You should use &lt; instead of <. Previous Comments: ------------------------------------------------------------------------ [2002-02-09 16:22:30] chregu@php.net What did you expect? According to the XML-Specs, a XML-Document is not wellformed with a < in the attribute value. Use &lt; if you want to use a <. chregu ------------------------------------------------------------------------ [2002-02-09 16:15:52] francis@vulcanonet.com XML parser do not let use '<' in any attribute inside XML file. Example: <elem attribute="<9" /> in this case, the parser send the message "not well-formed" (invalid token) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15471&edit=1

« previous php.dev (#79844) next »