Re: [xml] + broke??

Date view Thread view Subject view Author view

From: Bill Kendrick (William.Kendrick@wcom.com)
Date: Fri Oct 20 2000 - 13:56:12 EDT


On Fri, 20 Oct 2000 05:46:53 Daniel Veillard wrote:
> On Thu, Oct 19, 2000 at 11:45:45PM +0200, Daniel Veillard wrote:
> >
> > On Thu, Oct 19, 2000 at 01:54:39PM -0700, Bill Kendrick wrote:
> > >
> > > Daniel, should I e-mail you the XML and DTD files? :)
>
> Actually I like this example a LOT ! Can I include it in the
> libxml testsuite ?

Mike, Daniel is talking about the Cleopatra play that comes with
Oracle's XML stuff. Know what the distribution rights are on that?
(ie, did Oracle just swipe it from somewhere and include it?)

> Okay I had a look, first when referencing the DTd directly from
> the doctype and asking for validation, no error is raised:
>
> ------------------ cleo.xml
> <?xml version="1.0"?>
> <!DOCTYPE PLAY PUBLIC "xxx" "cleo.dtd">
> <PLAY>
> [...]
> ------------------
> ~/XML -> ./xmllint --noout --valid cleo.xml
> ~/XML ->
> ------------------

Ok. Lemme try it with my own XML validation tester app.
Hrm... Same errors:

    Element PGROUP content doesn't follow the Dtd
    Expecting (PERSONA+ , GRPDESCR), got (PERSONA PERSONA PERSONA GRPDESCR )

> If removing the DTD reference and asking for a-posteriori validation
> then the bug is triggered:
>
> ------------------
> <?xml version="1.0"?>
> <PLAY>
> [...]
> ------------------
> ~/XML -> ./xmllint --noout --dtdvalid cleo.dtd cleo.xml
> Element PGROUP content doesn't follow the Dtd
> Expecting (PERSONA+ , GRPDESCR), got (PERSONA PERSONA PERSONA GRPDESCR )
> Element PGROUP content doesn't follow the Dtd
> [...]
> ------------------
>
> I found 2 problems, the enclosed patch fixes them !

Thanks. I'll apply the patch and test again and let you know.

-bill!
William.Kendrick@wcom.com
ext 6218

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Oct 20 2000 - 14:43:33 EDT