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

2009-11-17 Thread Daniel Veillard
On Tue, Nov 17, 2009 at 05:03:41PM +0100, Murray Cumming wrote: > 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,

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

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

2009-11-17 Thread Daniel Veillard
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 this error > validity error : Validation failed: no DTD fo

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