> -----Original Message-----
> From: Scott M Stark [mailto:[EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] jboss_3_0.dtd vs jboss_3_2.dtd
>
> ...
> the enterprise-beans element model would have to be:
>  <!ELEMENT enterprise-beans (session | entity | message-driven)*>
> content model for backward compability and consistency with the
> ejb-jar 2.0 DTD.

Done.

> The ordering of the jboss child elements should also be 
> consistent between 3.0 and 3.2. I think the jboss element
> content model in 3.2 needs to be:
> 
> <!ELEMENT jboss (enforce-ejb-restrictions?, security-domain?,
>     unauthenticated-principal?,  resource-managers?, 
>     enterprise-beans?, invoker-proxy-bindings?, 
>     container-configurations?)>
> 
> as this is consistent with the invoker-proxy-bindings and 
> container-configurations ordering in the standardjboss.xml
> descriptor and is consistent with the
> 3.0 element ordering.

3.2 standardjboss.xml has form:

<invoker-proxy-bindings>
 ...
</invoker-proxy-bindings>

<enforce-ejb-restrictions>false</enforce-ejb-restrictions>

<container-configurations>
 ...
</container-configurations>

So, that content model doesn't match the 3.2 dtd.  Plus, the 3.0 dtd has
resource-managers after enterprise-beans, so, I'm not sure how it's
consistent with the 3.0 content model?

How about:

<!ELEMENT jboss (enforce-ejb-restrictions?, security-domain?,
     unauthenticated-principal?,  enterprise-beans?, 
     resource-managers?, invoker-proxy-bindings?, 
     container-configurations?)>

And, I'll fix the standardjboss.xml file in 3.2 and HEAD to move
enforce-ejb-restrictions above all the invoker-proxy-bindings.

What do you think?

Michael


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to