Log in to follow, share, and participate in this community.
Thread XMLGregorianDate to xs:dateTime rather than xs:anySimpleType
XMLGregorianDate to xs:dateTime rather than xs:anySimpleTypeSorry guys if this is the wrong forum to post this issue, please inform me if I should move it somewhere else. I pretty much hope you guys can help me out here. I, via xjc, compiled a .XSD into several classes. Auto...
Attributes problemI just submitted a test for attributes on Map Entry's key/value elements because this isn't working. See MapTestCase::testMapWithKeyValueOverrides() Alex, can you look at it and see why its not setting the attribute...
Duplicate attributesI just found an interesting case that we should probably validate and fail.
public class BaseClass
{
@XmlAttribute(name="something");
public void setSomething(String value) {}
}
public class MyClass extends Base...
XmlElementWrapper testsAdrian, I fixed the bug you showed me yesterday. Here is the issue http://jira.jboss.com/jira/browse/JBXB-126 Adding the test for it, I found that the XML for current XmlElementWrapper tests doesn't look right to me....
AbstractBuilderTest and test supportThere's a number of projects (at least in the Microcontainer) that have copies of the JBossXB test support classes. Wouldn't it be a good idea to provide this support inside jbossxb.jar like we do for the Microcontai...
How to force strict validation?I've been trying this out for a while... no success. Schema: <xsd:schema xmlns:jbxb="http://www.jboss.org/xml/ns/jbxb" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="garbageRoot" type="ro...
jboss container -> jboss reflectionI've removed the JBossXB testsuite dependendies on the metadata repository (these were just annotation helpers which aren't necessary to test that things got parsed correctly). This means JBossXB builds with jboss re...
Map annotationsI am prototyping map binding annotations. This is what I currently have. @JBossXmlMapEntry. Used if key-value pairs are wrapped inside an element, i.e. entry element. And/or if the whole entry should be bound to a Ja...
Thread Problem with type from parent schema not properly picked up
Problem with type from parent schema not properly picked upWith the following schema and XML I get a validation exception
<?xml version="1.0" encoding="UTF-8"?>
<!-- A prototype xsd schema for javabeans
$Id: aop-beans_1_0.xsd 64914 2007-08-28 15:27:14Z alesj $
--&...
Problem with Collection<Enum>The org.jboss.test.metadata.web.WebApp5EverythingUnitTestCase test is failing with:
org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/C:/home/svn/JBossAS/projects/metadata/trunk/target/eclipse-cl...
Seeing IAssemblyDescriptorMetaData error again?Rebuilt the metadata code on another box and I'm back to seeing this old error:
Caused by: java.lang.RuntimeException: Error instantiating bean for org.jboss.metadata.common.ejb.IAssemblyDescriptorMetaData
at org....
Thread annotations on properties declared in interfaces
annotations on properties declared in interfacesIf an interface declares a property and an implementation class has annotations on getter/setter, those annotations are not seen using org.jboss.beans.info.spi API. Is this a bug? An example could be class org.jboss....
JBXB-114, model group issuesWhat can we do with legacy documents that map to new model groups, but violate the group element ordering as is the case with the JBXB-114 and jboss_4_2.dtd environment reference model group? The problem is that the ...
QName unmarshallingI'm looking at http://jira.jboss.com/jira/browse/JBAS-4891 with regard to how to handle unmarshalling qnames from legacy descriptors that don't support namespaces. If a document like this is unmarshalled:
<?xml ...
Collections with interfacesWhen I switched the EnterpriseBeansMetaData to extend AbstractMappedMetaData instead of AbstractMappedMetaData, the child elements are lost:
@XmlType(name="enterprise-beansType")
public class EnterpriseBeansMetaDat...
Too much resolution?I seem to be seeing many more of these debug msgs currently running the metadata tests: 18:07:14,709 DEBUG [JBossEntityResolver] Cannot resolve [publicID=http://www.jboss.com/xml/ns/javaee,systemID=null] 18:07:15,3...
Thread JBossSessionBeanMetaData / using embedded Java bean properti
JBossSessionBeanMetaData / using embedded Java bean propertiI'm trying to create the JBossSessionBeanMetaData. It basicly is a SessionBeanMetaData combined with JBossSessionBeanMetaData, so I've got it extending JBossSessionBeanMetaData. Now how can I reuse SessionBeanMetaData...
@XmlElement(defaultValue="...")I'm not seeing an element get populated with a default value if the property has this specified, for example:
@XmlElement(defaultValue="org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock")
public void setLocking...
XsdBinder statusI ran into an error in the jboss-metadata project where a ejb-jar.xml that was parsed in one test failed to parse in another. It turned out the schema resolver has not been configured correctly in the latter case, and...