net.sf.saxon.om
public final class Name11Checker extends NameChecker
Field Summary | |
---|---|
static Name11Checker | theInstance |
Method Summary | |
---|---|
static Name11Checker | getInstance() |
String | getXMLVersion()
Return the XML version supported by this NameChecker
|
boolean | isValidChar(int ch)
Test whether a character is a valid XML character
|
boolean | isValidNCName(String name)
Validate whether a given string constitutes a valid NCName, as defined in XML Namespaces.
|
Returns: "1.1" as a string
Parameters: ch the character to be tested
Returns: true if this is a valid character in the selected version of XML
Parameters: name the name to be tested
Returns: true if the name is a lexically-valid NCName