[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: jboss-classload*.xsd appears to be broken
david.lloyd@jboss.com
do-not-reply at jboss.com
Wed Sep 17 10:46:17 EDT 2008
"david.lloyd at jboss.com" wrote :
| Also IDEA seems fairly certain that you can't use the "base" attribute here, though I'm not sharp enough on my xsd to say for sure:
|
| | <xsd:simpleType name="version" base="xsd:string">
| |
|
It's all coming back to me. Perhaps this should be:
| <xsd:simpleType name="version">
| <xsd:annotation>
| <xsd:documentation>
| <![CDATA[
| A version.
| ]]>
| </xsd:documentation>
| </xsd:annotation>
| <xsd:restriction base="xsd:string"/>
| </xsd:simpleType>
|
And export-all should probably be:
| <xsd:simpleType name="export-all">
| <xsd:annotation>
| <xsd:documentation>
| <![CDATA[
| Whether to export all, valid values are:
| ALL = export every package
| NON_EMPTY = only export packages that have contents
| ]]>
| </xsd:documentation>
| </xsd:annotation>
| <xsd:restriction base="xsd:string">
| <xsd:enumeration value="ALL"/>
| <xsd:enumeration value="NON_EMPTY"/>
| </xsd:restriction>
| </xsd:simpleType>
|
What do you think? I can commit this if it's not a bad time release-wise.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177161#4177161
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177161
More information about the jboss-dev-forums
mailing list