You can't define a DTD ELEMENT more than once. A defined element can be used
in the the content model of more than one ELEMENT. When you add an element
to
another elements content model you need to update the original ELEMENT
definition
to indicate how the element is interpreted in each context it is found. This
has been
done so the second datasource element simply needs to be removed. I have
done this.
----- Original Message -----
From: "Vinay Menon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 4:00 PM
Subject: Re: [JBoss-dev] jaws_2_4.dtd not valid
> Mike,
> That is a bean level datasource and quite obviously cannot be
commented
> out in principal! I mean if you got to have a bean level ds you got to
have
> one! Client programs should be able to define a datasource at the file
level
> i.e. applicable to all the beans declared in the jaws.xml and the
datasource
> at the bean level essentially overrides it.
>
> Vinay
>
> ----- Original Message -----
> From: "Mike Swainston-Rainford" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 11, 2001 11:40 PM
> Subject: [JBoss-dev] jaws_2_4.dtd not valid
>
>
> > the jaws dtd is no longer valid. The datasource element is defined
twice.
> > This mucks up any validating editor/parser (like XMLSpy) used to edit a
> > jaws.xml file.
> >
> > Suggest the second definition at line 69 is a comment thus:-
> >
> > <!-- The datasource at bean level. If specified the bean will use this
> > datasource instead of the global one.
> > Else the global one is used -->
> > <!--ELEMENT datasource (#PCDATA)-->
> >
> > Mike S-R
> >
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-development
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development