MantisBT - VTK
View Issue Details
0002561VTK(No Category)public2005-12-05 16:052005-12-07 11:09
Brad King 
Brad King 
urgentmajoralways
closedfixed 
 
 
0002561: vtkXMLWriter::ReserveAttributeSpace does not reserve enough
The original version of vtkXMLWriter::ReserveAttributeSpace was intended to write the empty space for an XML attribute value that will be a 32-bit integer. Since then uses of the method have been added for 64-bit integers and double-precision floating-point values. The method no longer reserves enough space. It should be re-written to have an interface that allows specification of the longest possible value.
No tags attached.
Issue History
2011-06-16 13:11Zack GalbreathCategory => (No Category)

Notes
(0003358)
Brad King   
2005-12-05 16:08   
I\'m assigning this bug to myself because I originally wrote the method and discovered the bug when trying to save some data from ParaView.

I\'m adding Ken and Mathieu on CC because they made changes related to this problem.
(0003360)
Brad King   
2005-12-06 10:25   
The following changes fix this bug:

/cvsroot/VTK/VTK/IO/vtkXMLWriter.cxx,v <-- vtkXMLWriter.cxx
new revision: 1.61; previous revision: 1.60
/cvsroot/VTK/VTK/IO/vtkXMLWriter.h,v <-- vtkXMLWriter.h
new revision: 1.24; previous revision: 1.23
(0003361)
Brad King   
2005-12-06 11:59   
I'm assigning this bug to Dave to merge to the VTK 5.0 branch.
(0003369)
David Cole   
2005-12-07 10:37   
Merged into the VTK-5-0 branch. Assigning back to Brad for closure...
(0003371)
Brad King   
2005-12-07 11:09   
This fix has also been ported to the ParaView 2.4 branch. I'm now closing the bug.