/*
 * Copyright (C) 2016 Reece H. Dunn
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package uk.co.reecedunn.intellij.plugin.xquery.lang;

import org.jetbrains.annotations.NotNull;

public enum XQueryConformance {
    MINIMAL_CONFORMANCE("minimal-conformance"),
    UPDATE_FACILITY("update-facility"),
    FULL_TEXT("full-text"),
    SCRIPTING("scripting"),
    MARKLOGIC("marklogic");

    private final String mID;

    XQueryConformance(@NotNull String id) {
        mID = id;
    }

    @Override
    public String toString() {
        return mID;
    }
}

@@ -719,16 +719,58 @@
 mance %7B%0A
+    FULL_AXIS(%22full-axis%22), // XQuery 1.0%0A
     MINI
@@ -808,16 +808,274 @@
 mance%22),
+ // XQuery 1.0%0A    MODULE(%22module%22), // XQuery 1.0%0A    SCHEMA_IMPORT(%22schema-import%22), // XQuery 1.0%0A    SCHEMA_VALIDATION(%22schema-validation%22), // XQuery 1.0%0A    SERIALIZATION(%22serialization%22), // XQuery 1.0%0A    STATIC_TYPING(%22static-typing%22), // XQuery 1.0
 %0A    UPD

Extend XQueryConformance to cover the optional features from XQuery 1.0.