[rrd-developers] Document type definition for RRDTool
tobi at oetiker.ch
Sun Mar 23 14:43:55 CET 2008
I have added the reference to the dump and the rrdtool.dtd to the
Today Florian Forster wrote:
> Hi everyone,
> I have a small present for easter for you: An document type definition
> for RRDTool, or more precisely the XML produced by `rrdtool dump'. I
> hope I covered all corner cases, but I'm not entirely positive on this.
> If anyone has problems, please tell me so.
> The DTD is attached to this mail, but is available on my site, too. So
> you can add something like
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE rrd SYSTEM "http://verplant.org/rrdtool.dtd">
> to the top of the XML dumped by `rrdtool dump' to have the libxml2
> based restore utility check the XML to be valid before trying to
> interpret it.
> I'd supply a patch for rrd_dump.c, but (a) I hope that Tobi will but the
> DTD on his site somewhere, which would be a better place if you ask me,
> and (b) adding these two lines is IMHO too trivial for a patch ;)
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
More information about the rrd-developers