[midPoint-git] [Evolveum/midpoint] 88b243: Try to fix "too generic xsi:type" parsing failure
mederly
noreply at github.com
Thu Sep 17 11:02:47 CEST 2020
Branch: refs/heads/tmp/mid-6474
Home: https://github.com/Evolveum/midpoint
Commit: 88b24347605b0f36f6dcb988a92d8a37c55ca372
https://github.com/Evolveum/midpoint/commit/88b24347605b0f36f6dcb988a92d8a37c55ca372
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/ComplexTypeDefinition.java
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismContext.java
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/TypeDefinition.java
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ComplexTypeDefinitionImpl.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContextImpl.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/TypeDefinitionImpl.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/PrismUnmarshaller.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/DomToSchemaPostProcessor.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/SchemaRegistryImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/MidPointPrismContextFactory.java
M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestConstants.java
M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestSchemaSanity.java
M infra/schema/src/test/java/com/evolveum/midpoint/schema/util/SchemaTestUtil.java
M infra/schema/src/test/resources/common/xml/no-ns/user-jack.xml
M infra/schema/src/test/resources/common/xml/ns/user-jack.xml
M infra/schema/src/test/resources/schema/extension.xsd
Log Message:
-----------
Try to fix "too generic xsi:type" parsing failure
Parsing of structures with xsi:type being (mistakenly) set to
a supertype of the actual type used to fail. This is an attempt
to fix that by comparing declared xsi:type with known PCD.
Now also correctly setting ctd.superType for extension types.
Relates to MID-6474 and MID-6394.
More information about the midPoint-svn
mailing list