xmllite/writer: Properly validate DocType name.
Current code skips a character and goes on to run is_namechar the next
instead of the current character ultimately always running a null
string on is_namechar and therefore always returning error on
multi-character strings
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
Showing
Please
register
or
sign in
to comment