You can have only one definition of the datasource element - and that's 
all we need since it's the same either place (just contains CDATA). As 
long as it's listed as a possible contained element for both the global 
jaws element, and the entity-bean element, we should be fine. Unless I'm 
missing something.


-danch

Vinay Menon wrote:

> 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

Reply via email to