fn-unparsed-text* failures

Bug #1123835 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Confirmed
High
Juan Zacarias

Bug Description

There are a series of test cases failing for the fn:fn-unparsed-text* functions:

- 10 in "fn-unparsed-text-lines" test set
- 5 in "fn-unparsed-text-available" test set
- 5 in "fn-unparsed-text" test set

The attached report was generated using:
./zorba -f -q ../../test/fots_driver/cli.xq -e mode:=run-test-sets -e testSetPrefixes:=fn-unparsed-text -e verbose:=true -o results_fn-unparsed-text.xml --indent --disable-http-resolution

Here are the failing test cases:
"fn-unparsed-text-lines-037,fn-unparsed-text-lines-038,fn-unparsed-text-lines-039,fn-unparsed-text-lines-042,fn-unparsed-text-lines-049,fn-unparsed-text-lines-050,fn-unparsed-text-lines-051,fn-unparsed-text-lines-052,fn-unparsed-text-lines-053,fn-unparsed-text-lines-054"
"fn-unparsed-text-available-023,fn-unparsed-text-available-024,fn-unparsed-text-available-036,fn-unparsed-text-available-037,fn-unparsed-text-available-038"

"fn-unparsed-text-037,fn-unparsed-text-038,fn-unparsed-text-039,fn-unparsed-text-042,fn-unparsed-text-050"

Related branches

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

Please take into account that "fn-unparsed-text-lines-052" needs a correct implementation of XML canonicalization support in "assert-xml".

All the other 20 reported failures are not impacted so they should pass after the issues in "fn-unparsed-text*" are fixed.

Chris Hillery (ceejatec)
Changed in zorba:
milestone: none → 2.9
importance: Undecided → High
tags: added: hotlist
Revision history for this message
Juan Zacarias (juan457) wrote :

Hi this are my observations on this bug report

Tests failing because of missing implementation of validation of utf-8 characters Bug 1073175:
fn-unparsed-text-038, fn-unparsed-text-039, fn-unparsed-text-available-037, fn-unparsed-text-available-038, fn-unparsed-text-lines-038, fn-unparsed-text-lines-039, fn-unparsed-text-lines-048

The function description specifies that utf-8 is the default form of read, The bugs I will list assume that the file it is being read as utf-16 without specifieng an encoding of utf-16 so they return invalid utf-8 characters. The question is if the function is supposed to make the encoding if the encoding is described in the xml tag? (example: <?xml version="1.0" encoding="utf-16"?>) or is it supposed to identify if a resource is encoded?
tests that assume utf-16: fn-unparsed-text-lines-040, fn-unparsed-text-lines-042, fn-unparsed-text-lines-047
tests that expect that the encoding of a file is varified: fn-unparsed-text-037, fn-unparsed-text-lines-037

Changed in zorba:
status: New → In Progress
description: updated
summary: - FOTS: fn-unparsed-text* failures (at least 21 failures)
+ FOTS: fn-unparsed-text* failures (at least 20 failures)
summary: - FOTS: fn-unparsed-text* failures (at least 20 failures)
+ fn-unparsed-text* failures (at least 20 failures)
tags: added: function-library
Chris Hillery (ceejatec)
Changed in zorba:
milestone: 2.9 → 3.0
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote : Re: fn-unparsed-text* failures (at least 20 failures)

This is the list of failing test-cases as of Zorba rev.11432:

- 9 in "fn-unparsed-text-lines" test set
- 5 in "fn-unparsed-text-available" test set
- 4 in "fn-unparsed-text" test set

Here are the test-cases failing:
"fn-unparsed-text-lines-038,fn-unparsed-text-lines-039,fn-unparsed-text-lines-042,fn-unparsed-text-lines-049,fn-unparsed-text-lines-050,fn-unparsed-text-lines-051,fn-unparsed-text-lines-052,fn-unparsed-text-lines-053,fn-unparsed-text-lines-054"
"fn-unparsed-text-available-023,fn-unparsed-text-available-024,fn-unparsed-text-available-036,fn-unparsed-text-available-037,fn-unparsed-text-available-038"
"fn-unparsed-text-038,fn-unparsed-text-039,fn-unparsed-text-042,fn-unparsed-text-050"

summary: - fn-unparsed-text* failures (at least 20 failures)
+ fn-unparsed-text* failures
Chris Hillery (ceejatec)
Changed in zorba:
milestone: 3.0 → none
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.