Package com.peterphi.std.util.jaxb
Class MultiXSDSchemaLoosener
java.lang.Object
com.peterphi.std.util.jaxb.MultiXSDSchemaLoosener
Utility class that loosens any xsd:any constraint where namespace="##other" to namespace="##any" (because JAXB cannot
represent namespace="##any" with
XmlAnyElement
, so the generated schemas are often
over-constrained as a result)-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
Try to loosen any xsd:any constraint where namespace="##other" to namespace="##any" (because JAXB cannot represent namespace="##any", the generated schemas are often over-constrained as a result)
-
Constructor Details
-
MultiXSDSchemaLoosener
public MultiXSDSchemaLoosener()
-
-
Method Details
-
loosenXmlAnyOtherNamespaceToXmlAnyAnyNamespace
-
loosenXmlAnyOtherNamespaceToXmlAnyAnyNamespace
Try to loosen any xsd:any constraint where namespace="##other" to namespace="##any" (because JAXB cannot represent namespace="##any", the generated schemas are often over-constrained as a result)- Parameters:
node
-
-