View Issue Details

IDProjectCategoryView StatusLast Update
0006146JEDI VCL00 JVCL Componentspublic2015-09-14 13:20
ReporterwilstyxAssigned ToAHUser 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.47 
Target VersionFixed in Version3.48 
Summary0006146: JVSimpleXml SavetoFile Ends up with malformed and unreadable XML File!
DescriptionUsing the JVSimpleXml Save to file routine writes to xml file

<?xml version="1.0" standalone="yes" encoding="Windows-1252"?>
XML Parsing Error: XML declaration not well-formed
Location: http://www.w3schools.com/xml/xml_validator.asp
Line Number 1, Column 38:
<?xml version="1.0" standalone="yes" encoding="Windows-1252"?>
-------------------------------------^

Every XML validator and Editor reports this as malformed.
Firefox, Chrome, IE and XML Notepad wont' even open the file.

Simple problem Actually. The "Encoding" must be before the "Standalone".
Switch these and it will open anywhere.

<?xml version="1.0" encoding="Windows-1252" standalone="yes"?>
 <life-span>
        <begin>1952</begin>
        <ended>false</ended>
</life-span>

No Errors
Location: http://www.w3schools.com/xml/xml_validator.asp
  
This has gotten to have been reported before but a search turned up nothing !
TagsNo tags attached.

Activities

AHUser

2013-06-07 08:33

developer   ~0020524

Fix in revision: 524d539225d6153631adccbfe10c2d54d7196d3d

Issue History

Date Modified Username Field Change
2013-06-07 03:00 wilstyx New Issue
2013-06-07 08:33 AHUser Note Added: 0020524
2013-06-07 08:33 AHUser Status new => resolved
2013-06-07 08:33 AHUser Fixed in Version => Daily / SVN
2013-06-07 08:33 AHUser Resolution open => fixed
2013-06-07 08:33 AHUser Assigned To => AHUser
2015-09-14 13:20 obones Fixed in Version Daily / GIT => 3.48