Package org.fcrepo.server.errors

Examples of org.fcrepo.server.errors.InvalidXMLNameException


        }

        // check for valid xml name for datastream ID
        if (dsID != null) {
            if (!XMLUtils.isWellFormedXMLName(dsID)) {
                throw new InvalidXMLNameException("Invalid syntax for datastream ID. "
                                                  + "The datastream ID of \""
                                                  + dsID
                                                  + "\" is"
                                                  + "not a valid XML Name");
            }
View Full Code Here


            throws ServerException {

        // check for valid xml name for datastream ID
        if (datastreamId != null) {
            if (!XMLUtils.isWellFormedXMLName(datastreamId)) {
                throw new InvalidXMLNameException("Invalid syntax for "
                                                  + "datastream ID. The datastream ID of \""
                                                  + datastreamId + "\" is not a valid XML Name");
            }
        }
View Full Code Here

                                        Date lastModifiedDate) throws ServerException {

        // check for valid xml name for datastream ID
        if (datastreamId != null) {
            if (!XMLUtils.isWellFormedXMLName(datastreamId)) {
                throw new InvalidXMLNameException("Invalid syntax for "
                                                  + "datastream ID. The datastream ID of \""
                                                  + datastreamId + "\" is not a valid XML Name");
            }
        }
View Full Code Here

TOP

Related Classes of org.fcrepo.server.errors.InvalidXMLNameException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.