[xml] xmllint: validating a document that doesn't specify a DTD

2009-11-17 Thread Murray Cumming
Should I be able to validate an XML document (such as a .glade file) that has no DOCTYPE line, and therefore doesn't specify a DTD? When I try it with xmllint, I get this error validity error : Validation failed: no DTD found ! even when I have specified a local DTD with --dtdvalid. --

Re: [xml] xmllint: validating a document that doesn't specify a DTD

2009-11-17 Thread Murray Cumming
On Tue, 2009-11-17 at 14:24 +0100, Daniel Veillard wrote: On Tue, Nov 17, 2009 at 01:33:44PM +0100, Murray Cumming wrote: Should I be able to validate an XML document (such as a .glade file) that has no DOCTYPE line, and therefore doesn't specify a DTD? When I try it with xmllint, I get

[xml] Preserving the SAX tutorial

2008-10-24 Thread Murray Cumming
We are moving most good GNOME documentation out of developer.gnome.org, usually into library.gnome.org. That should mean that it's better organized, kept up-to-date, and translated. This libxml SAX tutorial seems to still be relevant and useful. Would you like to add it to the regular libxml

[xml] xmlSaveFormatFileEnc() doesn't always write encoding declaration.

2006-10-23 Thread Murray Cumming
of the XML file. Is that ever a good thing? It seems like a bug. Would it break anything to make it always write the encoding declaration? -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com ___ xml mailing list, project page http

Re: [xml] Problems with xmlChar* as a key in STL Map

2005-05-25 Thread Murray Cumming
On Wed, 2005-05-25 at 09:12 +0300, Antti Mkinen wrote: [snip] when I use the acquired xmlChar* as a key in a STL map [snip] This is a fairly basic C/C++ mistake. It will probably be easier for you if you use the C++ interface: libxml++ http://libxmlplusplus.sourceforge.net -- Murray Cumming