switch (type) {
case StandardNames.XS_UNTYPED:
case StandardNames.XS_UNTYPED_ATOMIC:
return tree.getAtomizedValueOfUntypedNode(nextNodeNr);
case StandardNames.XS_STRING:
return new StringValue(TinyParentNodeImpl.getStringValue(tree, nextNodeNr));
default:
Configuration config = tree.getConfiguration();
SchemaType stype = config.getSchemaType(type);
if (stype instanceof AtomicType && !((AtomicType)stype).isNamespaceSensitive()) {
CharSequence value = TinyParentNodeImpl.getStringValue(tree, nextNodeNr);