Fwd: Re: Annotation in introspection XML <arg> elements?
ralf at habacker.de
Tue Nov 11 05:03:43 PST 2014
Am 11.11.2014 um 12:59 schrieb Simon McVittie:
> On 10/11/14 20:01, rony wrote:
>> On 10.11.2014 19:08, Lennart Poettering wrote:
>>> I noticed that colord exposes <annotation> elements in the XML
>>> introspection data, inside <arg> elements.
> I think it would be fine to allow this.
>> However a kind request for a URL to the official standard for the freedesktop.org Introspection
>> DTD/XSD, it seems I cannot locate it.
> doc/introspect.dtd in dbus.git is probably the canonical version.
> If there is a canonical way to update the copy used by
> standards.freedesktop.org, I don't know it; given that I do basically
> all the dbus releases, in practice this means the copy used by
> standards.freedesktop.org does not get updated for new dbus releases.
> On 10/11/14 21:29, Lennart Poettering wrote:
>> That said, the spec uses this in the doctype:
>> Which redirects to the first link.
>> Which brings us to another question, what should the dbus spec
>> reference in the doctype there? The URL or the new one?
> Has anyone ever validated introspection XML against a DTD, except as a
> stick with which to beat implementations that are in some way
> pedantically non-compliant?
> (In case it isn't obvious, I don't think the DTD is particularly useful;
to support a public xml standard which makes it able to process xml
validation for example in software quality assurance systems ?
... at ...:~/src/kdelibs> xmllint --loaddtd --load-trace --noout
Loaded URL="./kdeui/jobs/org.kde.JobViewServer.xml" ID="(null)"
ID="-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
More information about the dbus