NamespaceRegistry reg = graph.getContext().getNamespaceRegistry();
if (reg.isRegisteredNamespaceUri(JcrNtLexicon.Namespace.URI)) {
typeAttributeValue = JcrNtLexicon.UNSTRUCTURED;
}
TextDecoder decoder = null;
XmlHandler.AttributeScoping scoping = XmlHandler.AttributeScoping.USE_DEFAULT_NAMESPACE;
XmlHandler handler = new XmlHandler(destination, skip, parentPath, decoder, nameAttribute, typeAttribute,
typeAttributeValue, scoping);
XMLReader reader = XMLReaderFactory.createXMLReader();
reader.setContentHandler(handler);