[xml] Re: [sigc] spec file and include path name

2005-04-30 Thread Murray Cumming
any people use it. As usual, I'd recommend removing it if it remains broken, in favour of people using their distro packages anyway. -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

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 Mäkinen 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 -- Mur

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

2006-10-23 Thread Murray Cumming
f 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

[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 docum

[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. -- murr...

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? > &g

[xml] xmlSaveFormatFileEnc() creating invalid XML

2011-09-09 Thread Murray Cumming
Here is a simple test case that takes the text from an apparently-valid UTF-8 file, puts it in a text child node, and then writes the XML file out. But the XML file fails validation with xmllint with this error: ./output.xml:4: parser error : PCDATA invalid Char value 12 Am I doing something wrong

Re: [xml] xmlSaveFormatFileEnc() creating invalid XML

2011-09-09 Thread Murray Cumming
On Fri, 2011-09-09 at 10:21 -0400, Jason Viers wrote: > On 9/9/2011 05:37, Murray Cumming wrote: > > Here is a simple test case that takes the text from an apparently-valid > > UTF-8 file > > Not all valid UTF-8 is valid in XML. Only a subset, as defined in > http://ww

Re: [xml] xmlSaveFormatFileEnc() creating invalid XML

2011-09-14 Thread Murray Cumming
On Wed, 2011-09-14 at 16:10 +0800, Daniel Veillard wrote: > On Fri, Sep 09, 2011 at 04:30:45PM +0200, Murray Cumming wrote: > > On Fri, 2011-09-09 at 10:21 -0400, Jason Viers wrote: > > > On 9/9/2011 05:37, Murray Cumming wrote: > > > > Here is a simple test ca

[xml] xmlSaveFormatFileEnc() creating invalid XML

2011-09-15 Thread Murray Cumming
Here is a simple test case that takes the text from an apparently-valid UTF-8 file, puts it in a text child node, and then writes the XML file out. But the XML file fails validation with xmllint with this error: ./output.xml:4: parser error : PCDATA invalid Char value 12 Am I doing something wrong