Tomáš Kraus
Tomáš Kraus
XMLCatalog not used from xjc/xjctask when strict validation is enabled (JAXB-616 not actually fixed)
When using XJC from ANT and providing an XML Catalog and using strict schema validation, the XML Catalog is ignored. This was originally reported in #616 (and again in #795)...
When an attribute name contains an underscore character, the name of the generated field doesn't match the getter/setter method names. E.g. ``` ``` generates: ``` @XmlAttribute(name = "a_b_c") protected String...
Given the 'filename' variable contains path with space character, the following code: context = JAXBContext.newInstance(klasses); context.generateSchema(new SchemaOutputResolver() { @Override public Result createOutput(String namespaceUri, String suggestedFileName) throws IOException { return new...
When using "xjc:simple" is used when generating Java classes from a XSD file, the field names of collections in the generated classes are pluralised. This might be convenient if the...
In OOP there's a very common pattern where a Container can have an abstract Component with concrete subtypes (see AbstractComponent.gif). In XSD one way to model this pattern is to...
Consider the following customization, which may not be correct. (The JAXB Spec is rather difficult to understand in the pertaining section.) xjc compiles this, but the resulting Java code has...
JAXB Specification section 6.2.2 (p.78): If the simple type derives from or is xsd:integer and has either a con- straining lower and/or upper bounds facet(s) or totalDigits facet, check If...
I have five schemas that are used in common by multiple services, so I ran them through xjc -episode together to produce a single episode file containing bindings for all...
See forum posting at [http://forums.java.net/jive/thread.jspa?messageID=204042](http://forums.java.net/jive/thread.jspa?messageID=204042) for a description of the problem. Sample bindings file: Sample XML schema: Generated method on MyTestType class is: public float getFloatAttribute() { if (floatAttribute ==...
I saw this test failure several times, restarting the job usually helps. ``` [INFO] Running io.helidon.messaging.connectors.jms.AckMpTest 2023.06.15 09:57:15 INFO io.helidon.microprofile.cdi.HelidonContainerImpl Thread[#22,helidon-cdi-shutdown-hook,5,main]: Shutdown requested by JVM shutting down 2023.06.15 09:57:15 INFO...