• XMLGregorianDate to xs:dateTime rather than xs:anySimpleType

    Sorry 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...
    Profile Photo
    last modified by asouza_2000
  • Attributes problem

    I 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...
    Profile Photo
    last modified by adrian.brock
  • Duplicate attributes

    I 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...
    Profile Photo
    last modified by adrian.brock
  • XmlElementWrapper tests

    Adrian, 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....
    Profile Photo
    last modified by aloubyansky
  • AbstractBuilderTest and test support

    There'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...
    Profile Photo
    last modified by adrian.brock
  • Remove the dependency of XB testsuite on the metadata reposi

    This change didn't look complete. The testsuite didn't compile so added AbstractAnnotationImpl to the xb testsuite.
    Profile Photo
    last modified by aloubyansky
  • 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...
    Profile Photo
    last modified by rob.stryker
  • jboss container -> jboss reflection

    I'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...
    Profile Photo
    created by adrian.brock
  • Map annotations

    I 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...
    Profile Photo
    last modified by aloubyansky
  • Problem with type from parent schema not properly picked up

    With 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 $ --&...
    Profile Photo
    last modified by kabirkhan
  • 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...
    Profile Photo
    last modified by starksm64
  • 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....
    Profile Photo
    last modified by starksm64
  • annotations on properties declared in interfaces

    If 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....
    Profile Photo
    last modified by aloubyansky
  • JBXB-114, model group issues

    What 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 ...
    Profile Photo
    last modified by starksm64
  • QName unmarshalling

    I'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 ...
    Profile Photo
    last modified by starksm64
  • Collections with interfaces

    When I switched the EnterpriseBeansMetaData to extend AbstractMappedMetaData instead of AbstractMappedMetaData, the child elements are lost: @XmlType(name="enterprise-beansType") public class EnterpriseBeansMetaDat...
    Profile Photo
    last modified by starksm64
  • 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...
    Profile Photo
    last modified by starksm64
  • JBossSessionBeanMetaData / using embedded Java bean properti

    I'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...
    Profile Photo
    last modified by wolfc
  • @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...
    Profile Photo
    last modified by starksm64
  • XsdBinder status

    I 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...
    Profile Photo
    last modified by starksm64