Recently I came across a rather annoying issue with the XslCompiledTransform class. Namely it really doesn’t like having a BOM (byte order mark) shoved down it’s load method. I got a the follow error message and stack trace Viewing the input data to the XslCompiledTransform in debug mode showed a perfectly valid and lovely XSLT [...]
Archive for September, 2009
XslCompiledTransform !♥ the UTF-8 BOM : System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
Posted in .net, tagged xslt on September 9, 2009 | Leave a Comment »