[jboss-dev] jboss-web_5_0.dtd push to jboss.org
Jaikiran Pai
jpai at redhat.com
Thu Jan 22 10:41:17 EST 2009
Okay, i wasn't aware this was intentional.
-Jaikiran
Alexey Loubyansky wrote:
> The DTD is for legacy EJB2 containers only, XSD is only for the EJB3
> stuff.
>
> We (or was it just me) have been dealing with this for a long time
> now. DTD and XSD were maid different on purpose, which was discussed
> (or at least announced) on this list, forums and phone calls.
>
> This is the case for the jboss ejb schemas only.
> jboss-web and jboss-app still have only the dtd.
> jboss-client has both, I haven't looked into differences yet but
> unless there is a reason for the DTD it should not be supported.
>
> Alexey
>
> Dimitris Andreadis wrote:
>> Issues of this type should be opened against the JBMETA project.
>>
>> Jaikiran Pai wrote:
>>> The zip file attached to that issue seems to be having an
>>> inconsistency between the jboss_5_0.dtd and jboss_5_0.xsd.
>>> Especially, the dtd does not mention that the a <service> element
>>> can be used within the <enterprise-beans>, whereas the xsd correctly
>>> does:
>>>
>>> <xsd:complexType name="enterprise-beansType">
>>> .... <xsd:choice maxOccurs="unbounded">
>>> ..... //removed intentionally
>>>
>>> <xsd:element name="service" type="jboss:service-beanType">
>>> </xsd:element>
>>> <xsd:element name="consumer" type="jboss:consumer-beanType">
>>> </xsd:element>
>>> <!-- For generic ejb -->
>>> <xsd:element name="ejb" type="jboss:generic-beanType"/>
>>> </xsd:choice>
>>>
>>> </xsd:complexType>
>>>
>>>
>>> regards,
>>> -Jaikiran
>>> Dimitris Andreadis wrote:
>>>> https://jira.jboss.org/jira/browse/JBAS-6114
>>>>
>>>> Jaikiran Pai wrote:
>>>>> Brian Stansberry wrote:
>>>>>> Probably a general update is in order.
>>>>>>
>>>>> I guess, there are some other inconsistencies too
>>>>> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=149036
>>>>>
>>>>> regards,
>>>>> -Jaikiran
>>>>> _______________________________________________
>>>>> jboss-development mailing list
>>>>> jboss-development at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/jboss-development
>>>
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
More information about the jboss-development
mailing list