Hi Florian, I have added the reference to the dump and the rrdtool.dtd to the website ...
cheers tobi 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 ;) > > Regards, > -octo > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 213 9902 _______________________________________________ rrd-developers mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
