Description
There is a bug that occurs when importing document view xml using
session.getWorkspace().importXML(path, ins, ImportUUIDBehavior.IMPORT_UUID_CREATE_NEW);
When importing the following error is returned:
RepositoryTest org.apache.jackrabbit.oak.jcr.RepositoryTest [0] importWithRegisteredType[0](org.apache.jackrabbit.oak.jcr.RepositoryTest) javax.jcr.ValueFormatException: Invalid type: 0 at org.apache.jackrabbit.oak.plugins.value.ValueFactoryImpl.createValue(ValueFactoryImpl.java:267) at org.apache.jackrabbit.oak.jcr.xml.StringValue.getValue(StringValue.java:88) at org.apache.jackrabbit.oak.spi.xml.PropInfo.getValues(PropInfo.java:163) at org.apache.jackrabbit.oak.jcr.xml.ImporterImpl.createProperty(ImporterImpl.java:202) at org.apache.jackrabbit.oak.jcr.xml.ImporterImpl.startNode(ImporterImpl.java:452) at org.apache.jackrabbit.oak.jcr.xml.DocViewImportHandler.startElement(DocViewImportHandler.java:277) at org.apache.jackrabbit.oak.jcr.xml.ImportHandler.startElement(ImportHandler.java:183) at org.apache.jackrabbit.commons.xml.DefaultContentHandler.startElement(DefaultContentHandler.java:161) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182) ....