We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression bug caused by issue #11.
Given:
$plist = new CFPropertyList(); $dict = new CFDictionary(); $dict->add('string', new CFString('')); $dict->add('number', new CFNumber(0)); $dict->add('double', new CFNumber(0.0)); $plist->add($dict); print $plist->toXML();
Current:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"><dict><key>string</key><string/><key>number</key><integer/><key>double</key><real/></dict></plist>
Expected:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"><dict><key>string</key><string/><key>number</key><integer>0</integer><key>double</key><real>0</real></dict></plist>
Actual implementation creates empty tags also for integer and real elements.
The text was updated successfully, but these errors were encountered:
321b13f
Merge pull request #15 from macieq/master
9ed6aa6
Fix for creating empty tags for all 'false' PHP values. Fixes issue #14
DIOHz0r
btry
No branches or pull requests
Regression bug caused by issue #11.
Given:
Current:
Expected:
Actual implementation creates empty tags also for integer and real elements.
The text was updated successfully, but these errors were encountered: