Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fails because of encoding problem on jenkins server #89

Open
white-gecko opened this issue Aug 19, 2014 · 0 comments
Open

Test fails because of encoding problem on jenkins server #89

white-gecko opened this issue Aug 19, 2014 · 0 comments

Comments

@white-gecko
Copy link
Member

The Jenkins server obviously runs the test process with ISO8859-1 encoding, when opening utf-8 files.
This results in Erfurt_Store_Adapter_Virtuoso_ResultConverter_SparqlResultsXmlTest::testSimple to fail.

 [exec] -<?xmlversion="1.0"?><sparqlxmlns="http://www.w3.org/2005/sparql-results#"><head><variablename="1"/><variablename="2"/><variablename="3"/></head><results><result><bindingname="1"><uri>http://example.com/1</uri></binding><bindingname="2"><literal>ttt</literal></binding><bindingname="3"><literaldatatype="http://www.w3.org/2001/XMLSchema#string">ttt</literal></binding></result><result><bindingname="1"><uri>http://example.com/1</uri></binding><bindingname="2"><literal>ttt</literal></binding><bindingname="3"><literalxml:lang="de">&auml;&auml;&auml;</literal></binding></result></results></sparql>
 [exec] +<?xmlversion="1.0"?><sparqlxmlns="http://www.w3.org/2005/sparql-results#"><head><variablename="1"/><variablename="2"/><variablename="3"/></head><results><result><bindingname="1"><uri>http://example.com/1</uri></binding><bindingname="2"><literal>ttt</literal></binding><bindingname="3"><literaldatatype="http://www.w3.org/2001/XMLSchema#string">ttt</literal></binding></result><result><bindingname="1"><uri>http://example.com/1</uri></binding><bindingname="2"><literal>ttt</literal></binding><bindingname="3"><literalxml:lang="de">&Atilde;&curren;&Atilde;&curren;&Atilde;&curren;</literal></binding></result></results></sparql>

because it reads äää in SparqlResultsXmlTest.php@line46 as äää.

see: http://owdev.ontowiki.net/job/Erfurt/214/console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant