xsd
Scope of Schema and Schematron
I have an element that can have a different structure depending on certain constraints. The element is defined as:[详细]
2023-04-01 09:27 分类:问答XJC Generating Integer Instead of int
The following schema should be generating two primitive int fields in a Value class, but instead generates a primitive int for the element and java.lang.Integer for the attribute.[详细]
2023-04-01 01:37 分类:问答What xmlAdapter use JAXB to unmarshlad base64Binary
when I use hexBinary in xsd schema JAXB use HexBinaryAdapter to convert it into byte. But how JAXB convert when I use base64Binary in XSD schema ? there is no XmlAdapter. He use default xmlAdapter or[详细]
2023-03-31 21:50 分类:问答C# @ in enum generated classes from XSD
Using xsd.exe I\'ve got an enum which has an @ symbol in front of one of the elements. I can\'t work out why, and I can\'t work out what it\'s开发者_开发技巧 for or what it means. Searching Google for[详细]
2023-03-31 19:09 分类:问答Referencing multiple IDs in an XML schema (XSD)
I was wondering whether it\'s possible to differentiate between ID fields in an XML schema. I\'m having the following schema:[详细]
2023-03-31 18:46 分类:问答Difference between a named Complex Type and an anonymous Complex Type in an Element
What is the difference between... <xsd:element name=”add”> <xsd:complexType> <xsd:sequence>[详细]
2023-03-31 18:07 分类:问答Is it possible to generate a XSD from a JAXB-annotated class?
I\'ve written a number of classes using JAXB for serialization and I was wondering if there was a way to generate a XSD file for each of these objects based on the annotations. Is there a tool for thi[详细]
2023-03-31 16:47 分类:问答Creating XML Schema from URL works but from Local File fails?
I need to validate XML Schema Instance (XSD) documents which are programmatically generated so I\'m using the following Java snippet, which works fine:[详细]
2023-03-31 16:28 分类:问答how use xmlAdapter in maven-jaxb-plugin
Hi I have xsd schema with base64Binary. when this plugin genereted this elemen looks like @XmlElement(name = \"element\")[详细]
2023-03-31 11:45 分类:问答How can I generate java classes for xml deserialization using an xml schema?
I\'d like an easy way to generate Java classes from a schema so that I can easily deserialize xml and interpret using the objects.[详细]
2023-03-31 11:32 分类:问答