[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtk-developers
Subject:    [vtk-developers] VTK 5.8 Error in vtkXMLDataElement
From:       "Papademetris, Xenophon" <xenophon.papademetris () yale ! edu>
Date:       2011-10-20 16:13:13
Message-ID: 7CC3F1E228E90A4CACC7D23B5148095203E68F68 () x10-mbx8 ! yu ! yale ! edu
[Download RAW message or body]

We have an application here where we encode images as XML (in-house formats) that result in large CData Elements. Saving these worked just fine in vtk-5.6 but failed in 5.8. A little search and comparison with the working vtk 5.6 code revealed that the culprit is probably "PrintWithEscapedData". For internal use I simply reverted back the PrintCharacterData function to the vtk-5.6 version (the beauty of open source) and so it all works for us but this may be worth looking into down the road. The unpatched vtk-5.8  worked with smaller datasets but as things got larger it hangs.

In short the fixes are of the form:

VTK-5.8:     this->PrintWithEscapedData(os, this->CharacterData);
VTK-5.6:     os << indent << characterData;

Thanks

Xenios

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic