[Os-project-managers] Server Output

Hotmail (majxuh) majxuh at hotmail.com
Mon Jun 25 11:32:56 EDT 2012


These two links from W3C might help. 
http://www.w3.org/TR/REC-xml/#sec-line-ends
http://www.w3.org/TR/REC-xml/#dt-escape

Jun

-----Original Message----- 
From: Horand Gassmann 
Sent: Sunday, June 24, 2012 3:43 PM 
To: Kipp Martin 
Cc: Os-project-managers at list.coin-or.org 
Subject: Re: [Os-project-managers] Server Output 

Kipp Martin <kmartin at chicagobooth.edu> wrote:

> Hi Guys:
>
> Using the command line
>
> ./OSSolverService -osil ../data/osilFiles/parincLinear.osil  
> -serviceLocation  
> http://74.94.100.129:8080/OSServer/services/OSSolverService -osol  
> ../data/osolFiles/serverOutputCapture.osol
>
> we get the output you see below:
>
> What is all the #xa about?

If I understand this correctly, there is some double substitution  
going on. You need newlines ('\n'), which should be replaced in an xml  
document by '&#xA;'. Somehow the ampersand itself is escaped into  
'&amp;' I am not clear if the parser is supposed to take care of this  
for you or if this needs to be parsed explicitly. It's also not clear  
why the second substitution is taking place and whether it was  
necessary/proper.

Cheers

gus





-------------------------------------------------------

Horand I. Gassmann, Professor

School of Business Administration, Dalhousie University
6100 University Avenue, PO Box 15000
Halifax, Nova Scotia, Canada, B3H 4R2
ph. (902) 494-1844
fax (902) 494-1107

http://myweb.dal.ca/gassmann/

_______________________________________________
Os-project-managers mailing list
Os-project-managers at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/os-project-managers


More information about the Os-project-managers mailing list