Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000050 [File Access Library - Filestreams] Behavior/Execution minor always 2009-03-25 01:03 2009-03-31 21:32
Reporter carl View Status public  
Assigned To carl
Priority normal Resolution fixed  
Status closed   Product Version 0.8.5
Summary 0000050: XML Parser has a limitation on tag sizes.
Description The XML Parser limits the tag string (including attributes), to MAX_STRING_LENGTH (2048 characters). This causes some XML parsing failures where
it should not, such as when parsing an xml file which has an attribute that has over MAX_STRING_LENGTH characters. (See attached xmltest.xml).
Additional Information
Tags No tags attached.
Attached Files xml file icon xmltest.xml [^] (4,381 bytes) 2009-03-25 01:03

- Relationships

-  Notes
(0000396)
carl (administrator)
2009-03-25 01:05

The problem is caused by the implmentation that uses internally an UCS4String type that limits its size. We should use poucs4char instead for the data so as to avoid this limit.
(0000397)
carl (administrator)
2009-03-31 21:32

Fixed by creating a string value that contain up to 64K of attribute data, which should be sufficient for 95%+ of XML files out there.

- Issue History
Date Modified Username Field Change
2009-03-25 01:03 carl New Issue
2009-03-25 01:03 carl File Added: xmltest.xml
2009-03-25 01:05 carl Note Added: 0000396
2009-03-25 01:07 carl Assigned To => carl
2009-03-25 01:07 carl Status new => assigned
2009-03-31 21:32 carl Note Added: 0000397
2009-03-31 21:32 carl Status assigned => closed
2009-03-31 21:32 carl Resolution open => fixed
2009-03-31 21:32 carl Fixed in Version => 0.8.6


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker