[ 
https://issues.apache.org/jira/browse/UIMA-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758690#action_12758690
 ] 

Tommaso Teofili edited comment on UIMA-1582 at 9/23/09 6:00 AM:
----------------------------------------------------------------

adding
transformer.setOutputProperty("{http://xml.apache.org/xalan}line-separator";, 
"\n");
on line 79 of ResultConverter does not fix the issue on MacOSX.
I think the right way is, as you stated, to normalize strings to common 
line-separators in the ConfigTest, not in ResultConvert.

      was (Author: teofili):
    adding
transformer.setOutputProperty("{http://xml.apache.org/xalan}line-separator";, 
"\n");
on line 79 of ResultConverter does not fix the issue on MacOSX.
I think the right way is, as you stated, to strings to common line-separators 
in the ConfigTest, not in ResultConvert.
  
> SimpleServer ConfigTest fails
> -----------------------------
>
>                 Key: UIMA-1582
>                 URL: https://issues.apache.org/jira/browse/UIMA-1582
>             Project: UIMA
>          Issue Type: Bug
>          Components: Sandbox-SimpleServer
>    Affects Versions: 2.3S
>         Environment: MacOS X
>            Reporter: Tommaso Teofili
>             Fix For: 2.3
>
>         Attachments: 1582patch.txt
>
>
> testResultGeneration1 to testResultGeneration10 fail due to a wrong starting 
> carriage return in the expected String used to compare against the actual 
> result;  actual.equals(expected) fails for standoff (not inlined 
> configuration XML).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to