Opened 17 years ago
Closed 17 years ago
#2146 closed defect (fixed)
SOS output does not use msio_xxx functions
Reported by: | assefa | Owned by: | assefa |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | SOS Server | Version: | |
Severity: | normal | Keywords: | |
Cc: | warmerdam, tomkralidis |
Description
Currentlly the SOS GetCapbilities and GetObservation use the following code to dump the output :
stream = stdout; xmlDocDump(stream, psDoc);
This causes problem when trying to use the WxS functions from Mapscript
Change History (4)
comment:1 by , 17 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 17 years ago
Thanks Frank. Fixed commited in r6238.
Tom, please give it a try and close if it works. Thanks.
Note:
See TracTickets
for help on using tickets.
modifying the output to this seems to work :
context = msIO_getHandler(stdout);
xmlDocDumpFormatMemoryEnc(psDoc, &buffer, &size, "ISO-8859-1", 1); msIO_contextWrite(context, buffer, size); xmlFree(buffer);
Frank, do you think it is the correct way for dealing with this ?