![JAR search and dependency download from the Maven repository](/logo.png)
com.thaiopensource.relaxng.impl.NameFormatter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jing Show documentation
Show all versions of jing Show documentation
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.impl;
import com.thaiopensource.xml.util.Name;
public class NameFormatter {
public static String format(Name name) {
String localName = name.getLocalName();
String namespaceUri = name.getNamespaceUri();
return SchemaBuilderImpl.localizer.message("name_absent_namespace", localName);
// if (namespaceUri.equals(""))
// return SchemaBuilderImpl.localizer.message("name_absent_namespace", localName);
// else
// return SchemaBuilderImpl.localizer.message("name_with_namespace", namespaceUri, localName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy