[cairo-bugs] [Bug 33998] New: Unique XML Element IDs
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Feb 7 11:45:31 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=33998
Summary: Unique XML Element IDs
Product: cairo
Version: 1.10.2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: medium
Component: svg backend
AssignedTo: emmanuel.pacaud at lapp.in2p3.fr
ReportedBy: fedora.dm0 at gmail.com
QAContact: cairo-bugs at cairographics.org
Created an attachment (id=43037)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43037)
Adds a random string to XML element IDs
This is a feature request to add a random string to the IDs used in SVG output.
The goal is to be able to use several images in the same parent XML document
without having conflicting element IDs. My current use-case is having multiple
plots etc. generated by Cairo/R included throughout mathematical documents
written in XML-based languages.
Attached is a quick patch I made that is little more than tweaked pattern
replacement, but has the intended effect to illustrate my request. (It most
likely needs to be retouched by someone familiar with the source.)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list