Saxon.Api

Class DocumentBuilder

Class DomDestination

Class DynamicContext

Class DynamicError

Class EmptyEnumerator

Class ExtensionFunctionCall

Class ExtensionFunctionDefinition

Class InvalidityHandlerWrapper

Class NamespaceConstant

Class NullDestination

Class Processor

Class QName

Class SchemaManager

Class SchemaValidator

Class Serializer

Class StandardLogger

Class StaticContext

Class StaticError

Class TextWriterDestination

Class XPathCompiler

Class XPathExecutable

Class XPathSelector

Class XQueryCompiler

Class XQueryEvaluator

Class XQueryExecutable

Class XdmAnyFunctionType

Class XdmAnyItemType

Class XdmAnyNodeType

Class XdmAtomicType

Class XdmAtomicValue

Class XdmDestination

  - Class TreeProtector

Class XdmEmptySequence

Class XdmFunctionItem

Class XdmItem

Class XdmItemType

Class XdmNode

Class XdmNodeKind

Class XdmSequenceType

Class XdmValue

Class XmlDestination

Class Xslt30Transformer

Class XsltCompiler

Class XsltExecutable

  - Class ParameterDetails

Class XsltPackage

Class XsltTransformer

Enum RecoveryPolicy

Enum SchemaValidationMode

Enum TreeModel

Enum WhitespacePolicy

Enum XdmAxis

Interface IInvalidityHandler

Interface IMessageListener

Interface IQueryResolver

Interface IResultDocumentHandler

Interface IXdmEnumerator

Interface IXmlLocation

Interface SchemaResolver

 

Saxon.Api
Class NamespaceConstant


public class NamespaceConstant
implements object

Holds a set of constants representing known namespaces.


Field Summary
static String NULL

A URI representing the null namespace (actually, an empty string)

static String XML

Fixed namespace name for XML: "http://www.w3.org/XML/1998/namespace".

static String XSLT

Fixed namespace name for XSLT: "http://www.w3.org/1999/XSL/Transform"

static String SAXON

Fixed namespace name for SAXON: "http://saxon.sf.net/"

static String SAXON_XSLT_EXPORT

Fixed namespace name for the export of a Saxon stylesheet package

static String SCHEMA

Namespace name for XML Schema: "http://www.w3.org/2001/XMLSchema"

static String SCHEMA_INSTANCE

XML-schema-defined namespace for use in instance documents ("xsi")

static String SCHEMA_VERSIONING

Namespace defined in XSD 1.1 for schema versioning

static String SQL

Fixed namespace name for SAXON SQL extension: "http://saxon.sf.net/sql"

static String EXSLT_COMMON

Fixed namespace name for EXSLT/Common: "http://exslt.org/common"

static String EXSLT_MATH

Fixed namespace name for EXSLT/math: "http://exslt.org/math"

static String EXSLT_SETS

Fixed namespace name for EXSLT/sets: "http://exslt.org/sets"

static String EXSLT_DATES_AND_TIMES

Fixed namespace name for EXSLT/date: "http://exslt.org/dates-and-times"

static String EXSLT_RANDOM

Fixed namespace name for EXSLT/random: "http://exslt.org/random"

static String FN

The standard namespace for functions and operators

static String OUTPUT

The standard namespace for XQuery output declarations

static String ERR

The standard namespace for system error codes

static String LOCAL

Predefined XQuery namespace for local functions

static String MATH

Math namespace for the XPath 3.0 math functions

static String MAP_FUNCTIONS

Namespace URI for XPath 3.0 functions associated with maps

static String ARRAY_FUNCTIONS

Namespace URI for XPath 3.0 functions associated with arrays

static String XHTML

The XHTML namespace http://www.w3.org/1999/xhtml

static String SVG

The SVG namespace

static String MATHML

The MathML namespace

static String XMLNS

The XMLNS namespace (used in DOM)

static String XLINK

The XLink namespace

static String XQUERY_OPTIONS

The xquery-option namespace for the XQuery 3.0 feature names

static String XQUERY

The xquery namespace for the XQuery 3.0 declare option

static String JAVA_TYPE

Namespace for types representing external Java objects

static String DOT_NET_TYPE

Namespace for types representing external .NET objects

static String ANONYMOUS

Namespace for names allocated to anonymous types. This exists so that a name fingerprint can be allocated for use as a type annotation.

static String SCM

Namespace for the Saxon serialization of the schema component model

static String OBJECT_MODEL_SAXON

URI identifying the Saxon object model for use in the JAXP 1.3 XPath API

static String CODEPOINT_COLLATION_URI

URI identifying the Unicode codepoint collation

static String HTML5_CASE_BLIND_COLLATION_URI

URI identifying the HML5 ascii-case-blind collation

static String SAXON_GENERATED_GLOBAL

URI for the names of generated global variables

static String SAXON_CONFIGURATION

URI for the Saxon configuration file

static String EXPATH_ZIP

URI for the EXPath zip module

 
Method Summary
static bool isReserved(string uri)

Determine whether a namespace is a reserved namespace

static bool isReservedInQuery(string uri)

Determine whether a namespace is a reserved namespace

static bool isReservedInQuery30(string uri)

Determine whether a namespace is a reserved namespace in XQuery 3.0

static bool isReservedInQuery31(string uri)

Determine whether a namespace is a reserved namespace in XQuery 3.1

static String findSimilarNamespace(string candidate)

Find a similar namespace to one that is a possible mis-spelling

 
Field Detail

NULL

public static readonly String NULL

A URI representing the null namespace (actually, an empty string)


XML

public static readonly String XML

Fixed namespace name for XML: "http://www.w3.org/XML/1998/namespace".


XSLT

public static readonly String XSLT

Fixed namespace name for XSLT: "http://www.w3.org/1999/XSL/Transform"


SAXON

public static readonly String SAXON

Fixed namespace name for SAXON: "http://saxon.sf.net/"


SAXON_XSLT_EXPORT

public static readonly String SAXON_XSLT_EXPORT

Fixed namespace name for the export of a Saxon stylesheet package


SCHEMA

public static readonly String SCHEMA

Namespace name for XML Schema: "http://www.w3.org/2001/XMLSchema"


SCHEMA_INSTANCE

public static readonly String SCHEMA_INSTANCE

XML-schema-defined namespace for use in instance documents ("xsi")


SCHEMA_VERSIONING

public static readonly String SCHEMA_VERSIONING

Namespace defined in XSD 1.1 for schema versioning


SQL

public static readonly String SQL

Fixed namespace name for SAXON SQL extension: "http://saxon.sf.net/sql"


EXSLT_COMMON

public static readonly String EXSLT_COMMON

Fixed namespace name for EXSLT/Common: "http://exslt.org/common"


EXSLT_MATH

public static readonly String EXSLT_MATH

Fixed namespace name for EXSLT/math: "http://exslt.org/math"


EXSLT_SETS

public static readonly String EXSLT_SETS

Fixed namespace name for EXSLT/sets: "http://exslt.org/sets"


EXSLT_DATES_AND_TIMES

public static readonly String EXSLT_DATES_AND_TIMES

Fixed namespace name for EXSLT/date: "http://exslt.org/dates-and-times"


EXSLT_RANDOM

public static readonly String EXSLT_RANDOM

Fixed namespace name for EXSLT/random: "http://exslt.org/random"


FN

public static readonly String FN

The standard namespace for functions and operators


OUTPUT

public static readonly String OUTPUT

The standard namespace for XQuery output declarations


ERR

public static readonly String ERR

The standard namespace for system error codes


LOCAL

public static readonly String LOCAL

Predefined XQuery namespace for local functions


MATH

public static readonly String MATH

Math namespace for the XPath 3.0 math functions


MAP_FUNCTIONS

public static readonly String MAP_FUNCTIONS

Namespace URI for XPath 3.0 functions associated with maps


ARRAY_FUNCTIONS

public static readonly String ARRAY_FUNCTIONS

Namespace URI for XPath 3.0 functions associated with arrays


XHTML

public static readonly String XHTML

The XHTML namespace http://www.w3.org/1999/xhtml


SVG

public static readonly String SVG

The SVG namespace


MATHML

public static readonly String MATHML

The MathML namespace


XMLNS

public static readonly String XMLNS

The XMLNS namespace (used in DOM)


XLINK

public static readonly String XLINK

The XLink namespace


XQUERY_OPTIONS

public static readonly String XQUERY_OPTIONS

The xquery-option namespace for the XQuery 3.0 feature names


XQUERY

public static readonly String XQUERY

The xquery namespace for the XQuery 3.0 declare option


JAVA_TYPE

public static readonly String JAVA_TYPE

Namespace for types representing external Java objects


DOT_NET_TYPE

public static readonly String DOT_NET_TYPE

Namespace for types representing external .NET objects


ANONYMOUS

public static readonly String ANONYMOUS

Namespace for names allocated to anonymous types. This exists so that a name fingerprint can be allocated for use as a type annotation.


SCM

public static readonly String SCM

Namespace for the Saxon serialization of the schema component model


OBJECT_MODEL_SAXON

public static readonly String OBJECT_MODEL_SAXON

URI identifying the Saxon object model for use in the JAXP 1.3 XPath API


CODEPOINT_COLLATION_URI

public static readonly String CODEPOINT_COLLATION_URI

URI identifying the Unicode codepoint collation


HTML5_CASE_BLIND_COLLATION_URI

public static readonly String HTML5_CASE_BLIND_COLLATION_URI

URI identifying the HML5 ascii-case-blind collation


SAXON_GENERATED_GLOBAL

public static readonly String SAXON_GENERATED_GLOBAL

URI for the names of generated global variables


SAXON_CONFIGURATION

public static readonly String SAXON_CONFIGURATION

URI for the Saxon configuration file


EXPATH_ZIP

public static readonly String EXPATH_ZIP

URI for the EXPath zip module


Method Detail

isReserved

public static bool isReserved(string uri)

Determine whether a namespace is a reserved namespace

Parameters:
uri -
the namespace URI to be tested
Returns:
true, if this namespace URI is a reserved namespace, false otherwise.

isReservedInQuery

public static bool isReservedInQuery(string uri)

Determine whether a namespace is a reserved namespace

Parameters:
uri -
the namespace URI to be tested
Returns:
true, if this namespace URI is reserved in XQuery, false otherwise.

isReservedInQuery30

public static bool isReservedInQuery30(string uri)

Determine whether a namespace is a reserved namespace in XQuery 3.0

Parameters:
uri -
the namespace URI to be tested
Returns:
true, if this namespace URI is reserved in XQuery 3.0, false otherwise.

isReservedInQuery31

public static bool isReservedInQuery31(string uri)

Determine whether a namespace is a reserved namespace in XQuery 3.1

Parameters:
uri -
the namespace URI to be tested
Returns:
true, if this namespace URI is reserved in XQuery 3.1, false otherwise.

findSimilarNamespace

public static String findSimilarNamespace(string candidate)

Find a similar namespace to one that is a possible mis-spelling

Parameters:
candidate -
the possibly mis-spelt namespace
Returns:
the correct spelling of the namespace