yarosla/t4-wiki-parser

Browser Error at a Particular Point

Closed this issue · 5 comments

1. Have the system parse the enclosed file ("MartinsTest.txt").
  -> Parsing terminates without a message.
2. See the result in a browser
  -> Browsers reports an error.

Safari stops rendering at a particular point, firefox reports an error at this 
place (see 
appendices).

I have currently no possibility to thoroughly check the file, but I guess it 
contains an invisible 
character at this place.

The file has been created in Word and copied multiple times to other programs, 
so everything is 
in fact possible. Although we can argue that this is not an issue of T4 wiki 
parser, you should 
know about it - perhaps there is a simple way to get a more stable result. 
(This is a typical error 
where an innocent user might blame the parser.)

Original issue reported on code.google.com by marti...@gmx.de on 7 Jan 2010 at 8:57

Attachments:

I can't reproduce the error. If it was the problem with non-printable 
characters txt-
file upload-download process might have filtered them out, so I don't see them. 
Could 
you please upload MartinsTest.txt within zip archive to preserve all the bits?

Original comment by yaro...@gmail.com on 8 Jan 2010 at 11:13

Here is a zip-file version of the file - hope we get closer to the problem now.

Original comment by marti...@gmx.de on 8 Jan 2010 at 11:21

Attachments:

The file in zip is identical to prevoius one. Still unable to reproduce.

Could you please compare my result of parsing (attached) with yours in binary 
mode. Are 
there any differences?

Also please check the page encoding your browsers operate in. It should be 
UTF-8.

Original comment by yaro...@gmail.com on 8 Jan 2010 at 12:55

  • Changed state: Started

Attachments:

Trunk version of WikiParserDemo has been updated to strip UTF-8 BOM if present 
in the 
input file. It also now adds extra <meta> tag to the output to re-enforce UTF-8 
charset 
detection.

Latest jar: http://t4-wiki-parser.googlecode.com/svn/trunk/WikiParser.jar

Original comment by yaro...@gmail.com on 8 Jan 2010 at 1:46

Original comment by yaro...@gmail.com on 19 Feb 2011 at 1:30

  • Changed state: Fixed