Saxon.Api
Class NamespaceConstant
-
public class NamespaceConstant
Holds a set of constants representing known namespaces.
Field Summary |
|
---|---|
string | ANONYMOUS Namespace for names allocated to anonymous types: "http://ns.saxonica.com/anonymous-type". This exists so that a name fingerprint can be allocated for use as a type annotation. |
string | ARRAY Namespace name for XPath 3.0 functions associated with arrays: "http://www.w3.org/2005/xpath-functions/array" |
string | CODEPOINT_COLLATION_URI URI identifying the Unicode codepoint collation |
string | ERR The standard namespace for system error codes: "http://www.w3.org/2005/xqt-errors" |
string | EXPATH_ZIP Namespace for the EXPath zip module: "http://expath.org/ns/zip" |
string | EXSLT_COMMON Fixed namespace name for EXSLT/Common: "http://exslt.org/common" |
string | FN The standard namespace for functions and operators: "http://www.w3.org/2005/xpath-functions" |
string | HTML5_CASE_BLIND_COLLATION_URI URI identifying the HML5 ascii-case-blind collation |
string | LOCAL Predefined XQuery namespace for local functions: "http://www.w3.org/2005/xquery-local-functions" |
string | MAP Namespace name for XPath 3.0 functions associated with maps: "http://www.w3.org/2005/xpath-functions/map" |
string | MATH Namespace name for the XPath 3.0 math functions: "http://www.w3.org/2005/xpath-functions/math" |
string | MATHML The MathML namespace: "http://www.w3.org/1998/Math/MathML" |
static string | NULL A URI representing the null namespace (actually, an empty string) |
string | OUTPUT The standard namespace for XQuery output declarations: "http://www.w3.org/2010/xslt-xquery-serialization" |
string | SAXON Fixed namespace name for Saxon: "http://saxon.sf.net/" |
string | SAXON_CONFIGURATION Namespace for the Saxon configuration file: "http://saxon.sf.net/ns/configuration" |
string | SAXON_GENERATED_GLOBAL Namespace for the names of generated global variables: "http://saxon.sf.net/generated-global-variable" |
string | SAXON_XSLT_EXPORT Fixed namespace name for the export of a Saxon stylesheet package: "http://ns.saxonica.com/xslt/export" |
string | SCHEMA Namespace name for XML Schema: "http://www.w3.org/2001/XMLSchema" |
string | SCHEMA_INSTANCE XML-schema-defined namespace for use in instance documents ("xsi"): "http://www.w3.org/2001/XMLSchema-instance" |
string | SCHEMA_VERSIONING Namespace defined in XSD 1.1 for schema versioning: "http://www.w3.org/2007/XMLSchema-versioning" |
string | SCM Namespace for the Saxon serialization of the schema component model: "http://ns.saxonica.com/schema-component-model" |
string | SQL Fixed namespace name for Saxon SQL extension: "http://saxon.sf.net/sql" |
string | SVG The SVG namespace: "http://www.w3.org/2000/svg" |
string | XHTML The XHTML namespace: "http://www.w3.org/1999/xhtml" |
string | XLINK The XLink namespace: "http://www.w3.org/1999/xlink" |
string | XML Fixed namespace name for XML: "http://www.w3.org/XML/1998/namespace". |
string | XMLNS The XMLNS namespace (used in DOM): "http://www.w3.org/2000/xmlns/" |
string | XQUERY The xquery namespace for the XQuery 3.0 declare option: "http://www.w3.org/2012/xquery" |
string | XQUERY_OPTIONS The xquery-option namespace for the XQuery 3.0 feature names: "http://www.w3.org/2011/xquery-options" |
string | XSLT Fixed namespace name for XSLT: "http://www.w3.org/1999/XSL/Transform" |
Method Summary |
|
---|---|
static bool | IsReserved (string uri) Determine whether a namespace is a reserved namespace |
static bool | IsReservedInQuery31 (string uri) Determine whether a namespace is a reserved namespace in XQuery 3.1 |
Field Detail
ANONYMOUS
Namespace for names allocated to anonymous types: "http://ns.saxonica.com/anonymous-type". This exists so that a name fingerprint can be allocated for use as a type annotation.
ARRAY
Namespace name for XPath 3.0 functions associated with arrays: "http://www.w3.org/2005/xpath-functions/array"
CODEPOINT_COLLATION_URI
URI identifying the Unicode codepoint collation
ERR
The standard namespace for system error codes: "http://www.w3.org/2005/xqt-errors"
EXSLT_COMMON
Fixed namespace name for EXSLT/Common: "http://exslt.org/common"
FN
The standard namespace for functions and operators: "http://www.w3.org/2005/xpath-functions"
HTML5_CASE_BLIND_COLLATION_URI
URI identifying the HML5 ascii-case-blind collation
LOCAL
Predefined XQuery namespace for local functions: "http://www.w3.org/2005/xquery-local-functions"
MAP
Namespace name for XPath 3.0 functions associated with maps: "http://www.w3.org/2005/xpath-functions/map"
MATH
Namespace name for the XPath 3.0 math functions: "http://www.w3.org/2005/xpath-functions/math"
NULL
A URI representing the null namespace (actually, an empty string)
OUTPUT
The standard namespace for XQuery output declarations: "http://www.w3.org/2010/xslt-xquery-serialization"
SAXON_CONFIGURATION
Namespace for the Saxon configuration file: "http://saxon.sf.net/ns/configuration"
SAXON_GENERATED_GLOBAL
Namespace for the names of generated global variables: "http://saxon.sf.net/generated-global-variable"
SAXON_XSLT_EXPORT
Fixed namespace name for the export of a Saxon stylesheet package: "http://ns.saxonica.com/xslt/export"
SCHEMA_INSTANCE
XML-schema-defined namespace for use in instance documents ("xsi"): "http://www.w3.org/2001/XMLSchema-instance"
SCHEMA_VERSIONING
Namespace defined in XSD 1.1 for schema versioning: "http://www.w3.org/2007/XMLSchema-versioning"
SCM
Namespace for the Saxon serialization of the schema component model: "http://ns.saxonica.com/schema-component-model"
XQUERY
The xquery namespace for the XQuery 3.0 declare option: "http://www.w3.org/2012/xquery"
XQUERY_OPTIONS
The xquery-option namespace for the XQuery 3.0 feature names: "http://www.w3.org/2011/xquery-options"
Determine whether a namespace is a reserved namespace
Parameters:
uri
- the namespace URI to be testedReturns:
true
, if this namespace URI is a reserved namespace,false
otherwise.