All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thaiopensource.relaxng.exceptions.UnknownElementException Maven / Gradle / Ivy

Go to download

A branch of Jing used by the Nu Html Checker. (Jing is a tool for validating documents against RelaxNG schemas.)

The newest version!
package com.thaiopensource.relaxng.exceptions;

import org.xml.sax.Locator;

import com.thaiopensource.relaxng.impl.NameFormatter;
import com.thaiopensource.xml.util.Name;

public class UnknownElementException extends AbstractValidationException {

    public UnknownElementException(Locator locator,
            Name currentElement, Name parent) {
        super(parent == null ? localizer.message("unknown_element", NameFormatter.format(currentElement)) : localizer.message("unknown_element_parent", NameFormatter.format(currentElement), NameFormatter.format(parent)), locator, currentElement, parent);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy