#1938 closed defect (fixed)
Error when producing large xml
Reported by: | assefa | Owned by: | assefa |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | SOS Server | Version: | 4.10 |
Severity: | normal | Keywords: | |
Cc: |
Description
There was a problem when producing large xml (GetObservation and GetCapabilities) due to the fact that msIO_printf is using a static buffer of 8k and teh SOS module only calls this function once after all the xml is generated in memeory.
Change History (3)
comment:3 by , 17 years ago
Just as an update : the output mechanisime has been change in mapserver 5.0 and 4.10.3 to use following code when doing outputs:
context = msIO_getHandler(stdout);
xmlDocDumpFormatMemoryEnc(psDoc, &buffer, &size, "ISO-8859-1", 1); msIO_contextWrite(context, buffer, size); xmlFree(buffer);
Note:
See TracTickets
for help on using tickets.