xml - hexadecimal 0X19 is an invalid character -
so,
i building xml string based on values dataset using xmlwriter.
it building xml string per settings , conditions specified.
if there more 1000 records in dataset , when try build xml string getting above error. hexadecimal 0x19 invalid character
how pass this. have spent around 6 hrs trying figure out.
please help
quite simply, you're not allowed character in xml document, no matter how mark up. quote spec:
char ::= #x9 | #xa | #xd | [#x20-#xd7ff] | [#xe000-#xfffd] | [#x10000-#x10ffff]
roughly translated, means before 0x20, you're allowed tab (0x09), newline (0x0a) , carriage return (0x0d).
the normal way overcome sort of issue use another, embedded, encoding base64.
Comments
Post a Comment