Description of problem: The latest patch applied to wbxml2 (wbxml2-0.9.2-namespaces.patch) breaks the support for DRMREL. This is due to the change in namespaces managment which maybe is ok for SyncML, but hasn't added the needed changes for DRMREL. Version-Release number of selected component (if applicable): Latest How reproducible: Try to encode the attached valid drmrel file like this: xml2wbxml -i pau.dr -o pau.wbxml Without the patch it works, with the patch it fails. Steps to Reproduce: 1. xml2wbxml -i pau.dr -o pau.wbxml 2. 3. Actual results: xml2wbxml failed: Unknown Error Code Expected results: xml2wbxml succeded Additional info: I've tried to create a patch to add the namespace support for DRMREL but it does not work. I attach it for your review and, if possible, to fix it and add it. I've contacted the original author, Aymerick Jéhanne, to include the patches in the distribution and to fix drmrel too.
Created attachment 304484 [details] drmrel example file
Created attachment 304487 [details] patch attempt to support namespaces in drmrel
any news?
Andreas, I assigned that bug to you, because you introduced those patches. Tell us if you do not have time, currently, to handle that.
I am currently investigating what the proper way to resolve this bug is. I will try to get this resolved asap but I would like a cleaner solution better then a quick hack. I will see what the synce folks say to this as well. If you hear from the author of wbxml2 please forward the mail.
The quick hack would have been to remove the culprit patch. I tried to do something similar for DRMREL, the language broken by it, but I diod not succedd, I did not have more time to invest, in my copy I had to remove the patch, I was using the libary and it stopped working. In fact I was the original packager and helped Aymerick with all the makefiles, etc. I've tried to contact him but he must be unavailable for some time, we happen to be friends. I sent him all the patches for review. If you contact the synce folks, I had also to fix pywbxml whcih did not work as published, I'll be more than glad to send them the patch to fix it. I hope we can solve it soon, I'll be glad to help.
wbxml2-0.9.2-13.fc8 has been submitted as an update for Fedora 8
wbxml2-0.9.2-14.fc9 has been submitted as an update for Fedora 9
As a comment, it would be nice to have a small explanation of the resolution here, I'll predicate with the example: Verbatim from rawhide wbxml2-0.9.2-14.fc10.src.rpm: * Wed Jun 18 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0.9.2-14 - drop synce patches (not needed anymore, fixes #445130) And copied from the former rpm: #synce patches Patch101: wbxml2-0.9.2-anonymous-support-and-misc-fixes.patch Patch102: wbxml2-0.9.2-namespaces.patch The second one it the one I removed from my copy to fix it. BTW, pywbxml is still broken, default params have been overriden for bad.
wbxml2-0.9.2-14.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update wbxml2'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5449
I've tested the fix and it works. For me the bug is closed. I've reported it to the fedora updates link provided above too. Thanks
wbxml2-0.9.2-14.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
wbxml2-0.9.2-13.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.