[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Inexplicable Null Characters in HTML Output
Your output doesn't contain null characters, it contains zero bytes. These zero bytes form the top half of a 16-bit Unicode character. MSXML3 always produces this character encoding if you write the transformation result to a character output stream, rather than a binary output stream. Mike Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of > Ben Leighton > Sent: 21 September 2001 01:39 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Inexplicable Null Characters in HTML Output > > > Hi All, > > I hope this post isn't inappropriate for this list. > Im experiencing a problem with msxml 3.0. Until recently everything > worked fine but for some mysterious reason msxml has started behaving > strangely. > > Transforming XML to HTML using the msxsl command line > interface produces > HTML files > interspersed with Null Characters. file starts: > ascii: > > 255, 254, 13, 0 > > Subsequent lines start with null character (ascii 0) and > every character > of the output > is followed by another null character. All the expected HTML > is produced > but the > end result is corrupted by the addition of nulls. > > The problem occurs across multiple xml files and stylesheets. > In addition this problem does not occur when xt is used. Ive tried re > installing msxml 3 > msxsl IE 5.5 and installing sp6a for NT all to no avail. > > Has any one else experienced this problem. > > :) Ben > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|