jaxb
Process XML data with Java
I am software written in Java which read an external XML file (let\'s call it \"datasource.xml\"). This file contains different information and this information are extracted using XPath queries.[详细]
2023-03-29 23:54 分类:问答JAXB-AXIS, When request xml is unmarshalled JAXB creates JAXBElement<Foo> object is creted instead of Foo Object
After doing a search abt the topic, i came to know by setting generateElementProperty=falsefor JAXB bindings we can avoid this. But all the solutions shows how to set this property in a binding file a[详细]
2023-03-29 22:16 分类:问答JAXB javax.xml.bind.PropertyException
I am getting the below error when i try to read XML file that has some japanese char开发者_运维知识库acters.[详细]
2023-03-29 20:59 分类:问答JAXB does not throw an Error on wrong dateTime values
I have an XML schema, where element Calling1 is 开发者_Go百科defined like this: <xsd:element name=\"Calling1\" type=\"xsd:dateTime\">[详细]
2023-03-29 20:58 分类:问答Omitting @XmlSeeAlso from XJC output
Currently I\'m busy on a project using XML messaging. I have one general schema, with abstract types and some reusable type definitions and elements. For each sort of message I\'m dealing with, there\[详细]
2023-03-29 05:00 分类:问答Jaxb strategy for testing large document mappings
We are working with Jaxb to unmarshall a large deeply nested document. Xjc wouldn\'t work with the schema so we are having to map it by hand. Any suggestions for testing strategies here?[详细]
2023-03-29 04:17 分类:问答With MOXy and XPath, is it possible to unmarshal two lists of attributes?
Note, this is not a duplicate of another question I asked, \"With MOXy and XPath, is it possible to unmarshal a list of attributes?\"It\'s similar, but not the same.[详细]
2023-03-29 01:40 分类:问答JAXB location in file for unmarshalled objects
I have some objects being unmarshalled from an XML file by JAXB. Is it possible to have JAXB tell me or somehow find out where in the XML file (line and column) each object comes from?[详细]
2023-03-28 23:32 分类:问答Another Jaxb binding question
I think I have finally narrowed down one of my problems.I am using Jaxb w/Moxy implementation.I am using Xpath notation in my binding file. I am not getting the desired results.[详细]
2023-03-28 15:01 分类:问答jaxb unmarshal returns empty hashmap but sets it as null
I wrote an XMLAdapter for my HashMap. On unmarshaling an empty hashmap (presented by an emptyarray), I initialize an empty hashmap and return it, as seen in the code.[详细]
2023-03-28 11:30 分类:问答