Log in to follow, share, and participate in this community.
Thread 2 root elements question
2 root elements question "Jeff" wrote: Here I have a question. For ds.xml, there are 2 root elements defined in the DTD file jboss-ds_5_0.dtd "datasources" and "connection-factories". How can I handle these in our metadata project? An...
How to validate type-value?In javaee_5.xsd, Line 399: The following are the legal values of env-entry-type-valuesType: java.lang.Boolean java.lang.Byte java.lang.Character java.lang.String java.lang.Short java.lang.Integer java.lang.Lon...
AbstractMappedMetaData or List?the metadata of the element in xsd minOccurs="0" maxOccurs="unbounded" I notice that some use AbstractMappedMetaData (Like ApplicationExceptionsMetaData) and some List (like InitMethodsMetaData). What is the differ...
Thread Setting the default XmlJavaTypeAdapter for a class
Setting the default XmlJavaTypeAdapter for a classI'm finding I need to specify a @XmlJavaTypeAdapter(CollapsedStringAdapter.class) annotation on many string fields for web.xml settings whose underlying type is a path or FQN for example. Is there a way to set this as...
org.jboss.ws.WSException: org.jboss.ws.core.binding.BindingEHi folks, we're dealing with strange problem on our QA machine (see http://jbossws.jboss.org:8180/hudson/job/Native-Core-AS-4.2.2/lastBuild/testReport/org.jboss.test.ws.jaxrpc.jbws434/JBWS434TestCase/testWildCardArr...
Thread Will there be a release jar for JBossXB-1.0.0.SP4 ?
Will there be a release jar for JBossXB-1.0.0.SP4 ?Hi all, I see the bug I filed a while back (JBXB-116) was fixed recently, which is great. The fix mail says: Fix Version/s: JBossXB-2.0.0.CR13 JBossXB-1.0.0.SP4 In JIRA, there are no other open issues for JBossXB...
JAXB api dependencyhttps://jira.jboss.org/jira/browse/JBXB-149, we are depending on:
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.1</version>...
Ignoring '_' in enum nameSimilar to this request: - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132000 Although with a _lot_ less fuss this time :-), I would like to suggest the following use case: When we have some enu...
Thread Add schema binding to SingletonSchemaResolverFactory
Add schema binding to SingletonSchemaResolverFactoryI am about to commit the implementation of a metadata factory for security policies. This factory allows for the declaration of policies in -beans.xml files using security tags:
<deployment xmlns="urn:jboss:bean...
Mixing wildcards and elementsAlex, Can you please take a quick look at the XmlLoadableAopTestCase in the aop-mc-int project? Basically we have
@JBossXmlSchema(namespace="urn:jboss:aop-beans:1.0", elementFormDefault=XmlNsForm.QUALIFIED)
@XmlRo...
Element order exceptionI get this when hacking persistence.xml metadata:
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Requested element {http://java.sun.com/xml/ns/persistence}jta-data-source is not allowed in this position in...
Regular expresion validation for attributeIs there a way to annotate your metadata to apply validation on attribute, e.g. the following regular expression:
<xsd:simpleType name="versionType">
<xsd:restriction base="xsd:token">
<xsd:pattern...
JBossXB pomI'm looking at the jbossxb pom (in trunk). It declares a dependency on:
<dependency>
<groupId>apache-xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.9.1</ve...
JBossXB-2.0.0.CR8 releasedThe release is in http://repository.jboss.com/maven2/org/jboss/jbossxb/2.0.0.CR8/ The release notes http://jira.jboss.com/jira/secure/ReleaseNote.jspa?projectId=10069&styleName=Html&version=12312086
Thread JBossEntityResolver and xsd:redefine resolution
JBossEntityResolver and xsd:redefine resolutionThe issue was discovered in http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136295#4136295 The problem is that when the schema that contains xsd:redefine is parsed and when the redefine is resolved,...
Extending EnumValueAdapterAn 'issue' I stumbled upon today, perhaps being worth a new feature. It would be cool if we could make EnumValueAdapter be case unaware for String keys. Probably the best way to impl this is to extend EVA, where we be...
JBossXB TestsI'm going to comment out the failing tests in the annotated xsd pojo tests. Its unlikely I'll ever complete these tests, and its the tests that are wrong not JBossXB. :-) That just leaves one failing test, which is t...
JBossXB dependenciesI've upgraded to the latest version of common-core and excluded some of the stupid transitive dependencies it causes http://jira.jboss.com/jira/browse/JBXB-131 You might also want to consider whether some of the depe...