After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 750593 - zbar: add ability to dump XML representation of a symbol
zbar: add ability to dump XML representation of a symbol
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-08 20:40 UTC by Reynaldo H. Verdejo Pinochet
Modified: 2016-01-09 19:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Reynaldo H. Verdejo Pinochet 2015-06-08 20:40:31 UTC
ZBar has the ability to dump an XML representation of a
decoded symbol (or set of symbols) using this schema:

http://zbar.sourceforge.net/2008/barcode.xsd

The feature has been present in the library since version 0.6
and works by dumping every single piece of information zbar can
decode using the above XML representation.

I'm guessing we can make this opt-in as we did with https://bugzilla.gnome.org/show_bug.cgi?id=747557
but wanted to check first.

What do you think?
Comment 1 Tim-Philipp Müller 2015-06-08 21:22:45 UTC
Do you have an actual need for this or is it just something you came across?

I don't think we should add things just because they exist and we can.

If any of the issue that can be put in the xml is missing we can probably put it into the GstStructure as well.
Comment 2 Reynaldo H. Verdejo Pinochet 2015-06-08 22:19:37 UTC
Came across this while taking a look at it's API. I was
searching for a way to report the symbol position and geometry,
which seemed like an useful complement to #747557. Then I figured
out that keep adding fields to the structure was probably not
the best idea ever, considering zbar already had a way to dump
all info it can decode and that this set might actually change
with time. That's pretty much the rationale.
Comment 3 Tim-Philipp Müller 2015-06-08 22:36:29 UTC
I think from an application programmer's perspective it is much easier to parse such values out of the GstStructure than to parse an XML blob.