A
Andy Fish
hello,
I have an xml document that contains an element like this:
<foo title="hello, world"/>
I can edit the file with visual studio or XML spy without any warnings.
however, if I try to process it using .Net 2.0 XslCompiledTransform, I get
the error:
System.ArgumentException: ' ', hexadecimal value 0x0B, is an invalid
character.
running the same transformation in .Net 1.1 or XMLSpy's built-in XSLT
processor does not give an error.
I have seen in the XML specification that character code 0B (vt) is not a
valid XML character but I'm not quite clear on whether this means that a
character reference to vt is also invalid.
either way surely something is wrong? - I created the file in .Net 2.0 using
XmlDocument.Save() but I can't process it in .net 2.0. this is exactly the
sort of problem I thought using standard XML libraries was supposed to
protect me from.
Andy
I have an xml document that contains an element like this:
<foo title="hello, world"/>
I can edit the file with visual studio or XML spy without any warnings.
however, if I try to process it using .Net 2.0 XslCompiledTransform, I get
the error:
System.ArgumentException: ' ', hexadecimal value 0x0B, is an invalid
character.
running the same transformation in .Net 1.1 or XMLSpy's built-in XSLT
processor does not give an error.
I have seen in the XML specification that character code 0B (vt) is not a
valid XML character but I'm not quite clear on whether this means that a
character reference to vt is also invalid.
either way surely something is wrong? - I created the file in .Net 2.0 using
XmlDocument.Save() but I can't process it in .net 2.0. this is exactly the
sort of problem I thought using standard XML libraries was supposed to
protect me from.
Andy