← Back to team overview

zorba-coders team mailing list archive

Re: [Merge] lp:~zorba-coders/zorba/bug1123835 into lp:zorba

 

This branch doesn't solve all the errors yet this is the list of errors missing solution with a brief description of the current problem.

The missing errors are caused by 3 problems
* utf-8 encoding: missing the stream suggested to Paul that can handle errors when invalid utf-8 are found.
* unknown encoding: the function should be able to identify if the text has an unknown encoding, This error is currently not approachable but it may be done if request for the previous issue is available.
* unparsed-text utf-8 bom issue, I sent an email proposing 2 solutions for this problem. But probably not really pretty ones main discussion name is "utf-8 byte order marks" take a look on the email reply chain for more information on this issue.

Regarding this list a bunch of other errors were solved. I suggest we merge this fixes but keep the branch open until utf-8 stream that handles invalid characters is implemented or a new suggestion is made.

UNPARSED-TEXT-LINES    
<fots:test-case name="fn-unparsed-text-lines-037" result="fail"/>
Expected Error FOUT1200: unkown encoding
<fots:test-case name="fn-unparsed-text-lines-038" result="fail"/>
Expected Error 1190: utf-8 validation
<fots:test-case name="fn-unparsed-text-lines-039" result="fail"/>
Expected Error 1190: utf-8 validation
<fots:test-case name="fn-unparsed-text-lines-042" result="fail"/>
uses unparsed-text not unparsed-text-lines (utf-8 bom issue)

UNPARSED-TEXT
<fots:test-case name="fn-unparsed-text-037" result="fail"/>
Expected Error FOUT1200: unkown encoding
<fots:test-case name="fn-unparsed-text-038" result="fail"/>
Expected Error 1190: utf-8 validation
<fots:test-case name="fn-unparsed-text-039" result="fail"/>
Expected Error 1190: utf-8 validation
<fots:test-case name="fn-unparsed-text-042" result="fail"/>
utf-8 bom problem
<fots:test-case name="fn-unparsed-text-048" result="wrongError"/>
Expected Error 1190: utf-8 validation
<fots:test-case name="fn-unparsed-text-049" result="fail"/>   
counts one more (can be utf-8 bom) 

UNPARSED-TEXT-AVAILABLE
<fots:test-case name="fn-unparsed-text-available-036" result="fail"/>
unknown encoding
<fots:test-case name="fn-unparsed-text-available-037" result="fail"/>
utf-8 validation
<fots:test-case name="fn-unparsed-text-available-038" result="fail"/>
utf-8 validation  
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug1123835/+merge/158978
Your team Zorba Coders is subscribed to branch lp:zorba.


References