/** * Ask whether values of this type are atomizable * * @return true unless it is known that these items will be elements with element-only * content, in which case return false * @param th The type hierarchy cache */ public boolean isAtomizable(TypeHierarchy th) { return !(schemaType.isComplexType() && ((ComplexType) schemaType).getVariety() == ComplexType.VARIETY_ELEMENT_ONLY); }
/** * Ask whether values of this type are atomizable * * @return true unless it is known that these items will be elements with element-only * content, in which case return false * @param th The type hierarchy cache */ public boolean isAtomizable(TypeHierarchy th) { return !(schemaType.isComplexType() && ((ComplexType) schemaType).getVariety() == ComplexType.VARIETY_ELEMENT_ONLY); }
int variety1 = ((ComplexType) n1.getSchemaType()).getVariety(); int variety2 = ((ComplexType) n2.getSchemaType()).getVariety(); if (variety1 != variety2) { explain(config, "both elements have complex type, but a different variety", flags, n1, n2);
int variety1 = ((ComplexType) n1.getSchemaType()).getVariety(); int variety2 = ((ComplexType) n2.getSchemaType()).getVariety(); if (variety1 != variety2) { explain(config, "both elements have complex type, but a different variety", flags, n1, n2);