src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java [1379:1394]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        transition.setNext(readAV(reader, SCXMLConstants.ATTR_TARGET));
        final String type = readAV(reader, SCXMLConstants.ATTR_TYPE);
        if (type != null) {
            try {
                transition.setType(TransitionType.valueOf(type));
            }
            catch (final IllegalArgumentException e) {
                final MessageFormat msgFormat = new MessageFormat(ERR_UNSUPPORTED_TRANSITION_TYPE);
                final String errMsg = msgFormat.format(new Object[] {type, reader.getLocation()});
                throw new ModelException(errMsg);
            }
        }

        readExecutableContext(reader, configuration, transition, null);

        return transition;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java [1413:1428]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        transition.setNext(readAV(reader, SCXMLConstants.ATTR_TARGET));
        final String type = readAV(reader, SCXMLConstants.ATTR_TYPE);
        if (type != null) {
            try {
                transition.setType(TransitionType.valueOf(type));
            }
            catch (final IllegalArgumentException e) {
                final MessageFormat msgFormat = new MessageFormat(ERR_UNSUPPORTED_TRANSITION_TYPE);
                final String errMsg = msgFormat.format(new Object[] {type, reader.getLocation()});
                throw new ModelException(errMsg);
            }
        }

        readExecutableContext(reader, configuration, transition, null);

        return transition;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



