SF Bug tracker [ 1590469 ]

Typo in ixmlparser.c
Submitted By:
Erik Johansson - erijo


git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@97 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
Marcelo Roberto Jimenez 2006-12-23 19:54:01 +00:00
parent 1d9e8712b7
commit 2bc6a1f8dd

View File

@ -325,7 +325,7 @@ Parser_isValidXmlName( IN DOMString name )
pstr = name;
if( Parser_isNameChar( *pstr, FALSE ) == TRUE ) {
for( i = 1; i < nameLen; i++ ) {
if( Parser_isNameChar( *( pstr + 1 ), TRUE ) == FALSE ) { //illegal char
if( Parser_isNameChar( *( pstr + i ), TRUE ) == FALSE ) { //illegal char
return FALSE;
}
}