Index: src/main/java/org/modeshape/jcr/JcrEngine.java =================================================================== --- src/main/java/org/modeshape/jcr/JcrEngine.java (revision 2496) +++ src/main/java/org/modeshape/jcr/JcrEngine.java (working copy) @@ -319,9 +319,15 @@ Node optionNode = configuration.getNodeAt(optionLocation); Path.Segment segment = optionLocation.getPath().getLastSegment(); Property valueProperty = optionNode.getProperty(ModeShapeLexicon.VALUE); - if (valueProperty == null) continue; + if (valueProperty == null) { + log.warn(JcrI18n.noOptionValueProvided,segment.getName().getLocalName()); + continue; + } Option option = Option.findOption(segment.getName().getLocalName()); - if (option == null) continue; + if (option == null) { + log.warn(JcrI18n.invalidOptionProvided, segment.getName().getLocalName()); + continue; + } options.put(option, valueProperty.getFirstValue().toString()); } } Index: src/main/java/org/modeshape/jcr/JcrI18n.java =================================================================== --- src/main/java/org/modeshape/jcr/JcrI18n.java (revision 2496) +++ src/main/java/org/modeshape/jcr/JcrI18n.java (working copy) @@ -115,6 +115,8 @@ public static I18n cannotRemoveNodeFromClone; public static I18n cannotRemoveNodeFromCloneDueToChangesInSession; public static I18n constraintViolatedOnReference; + public static I18n invalidOptionProvided; + public static I18n noOptionValueProvided; public static I18n cannotRemoveRootNode; public static I18n cannotRemoveParentNodeOfTarget; Index: src/main/resources/org/modeshape/jcr/JcrI18n.properties =================================================================== --- src/main/resources/org/modeshape/jcr/JcrI18n.properties (revision 2496) +++ src/main/resources/org/modeshape/jcr/JcrI18n.properties (working copy) @@ -172,6 +172,8 @@ couldNotFindDefinitionOfRequiredPrimaryType = Could not find node type definition for the type of required primary type "{0}" while validating child node definition "{1}" of node type "{2}" cannotRedefineChildNodeWithIncompatibleDefinition = Cannot redefine child node "{0}" with required type "{1}" in node type "{2}" with new child node that does not require that type or a subtype of that type. cannotRemoveItemWithProtectedDefinition = Cannot remove the item at '{0}' with a protected definition +invalidOptionProvided = The provided option {0} is not a valid ModeShape option, it will be ignored +noOptionValueProvided = No value provided for option {0}, it will be ignored noDefinition=Cannot find a definition for the {0} named '{1}' on the node at '{2}' with primary type '{3}' and mixin types: {4} noSnsDefinition=Cannot find a definition that allows same-name siblings for the child node named '{0}' on the node at '{1}' with primary type '{2}' and mixin types: {3} and a child node already exists with this name