XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition (776 page)

BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
4.55Mb size Format: txt, pdf, ePub

XTSE1580

Stylesheet contains two character maps with the same name

If you want one to override the other, consider using
xsl:import
instead of
xsl:include
.

XTSE1590

A
use-character-maps
attribute contains a QName that is not the name of any character map

XTSE1600

A character map references itself directly or indirectly

For example, character map A has
use-character-maps=“B”
while character map B has
use-character-maps=“A”
.

XTSE1650

When a basic (non-schema-aware) XSLT processor is used, there must be no
xsl:import-schema
declaration

This might be because you didn't invoke the processor in the right way to get schema-aware functionality, or you might be using a third-party stylesheet that was written to require a schema-aware processor.

XTSE1660

When a basic (non-schema-aware) XSLT processor is used, there must be no
[xsl:]type
attribute, and the only permitted value for
[xsl:]validation
is
strip.

See XTSE1650.

XTTE0505

The result of evaluating the content of
xsl:template
must match the required type

If you specify an
as
attribute on
xsl:template
, then evaluating the template must deliver a value of the right type. Remember that new elements will be untyped unless you explicitly validate them.

XTTE0510

When
xsl:apply-templates
has no
select
attribute, there must be a context node

The default is to process the children of the context node, which fails if there is no context node.

XTTE0520

The value of the
select
attribute of
xsl:apply-templates
must not contain atomic values

You can only apply templates to nodes.

XTTE0570

In a variable declaration, the value of the variable must match the declared type

If you specify an
as
attribute on
xsl:variable
, then the value of the variable must match the specified type. Remember that this only declares the required type, it doesn't invoke automatic casting or validation.

XTTE0590

The value supplied for a parameter of a template must match its declared type

See XTTE0570.

XTTE0600

The default value of a template parameter must match its declared type

See XTTE0570.

XTTE0780

The value returned by a stylesheet function must match its declared type

See XTTE0505.

XTTE0790

The value supplied for a parameter of a stylesheet function must match its declared type

The rules for calling a user-defined function are the same as for a system function; the supplied arguments must match the declared types.

XTTE0950

An
xsl:copy
or
xsl:copy-of
instruction is copying namespace-sensitive content using
validation=“preserve”
, without copying the necessary namespace nodes

When you specify
copy-namespaces=“no”
and
validation=“preserve”
, the absence of namespaces in the new copy could invalidate any QNames in the content of attributes or text nodes that have been copied.

XTTE0990

When
xsl:number
has no
value
or
select
attribute, there must be a context node

In the absence of these attributes, the default is
select=“.”
, which requires a context node.

XTTE1000

The
select
attribute of
xsl:number
must evaluate to a single node

The message could mean that you have selected an atomic value, or a sequence of more than one node; more likely, you have selected an empty sequence.

XTTE1020

Except in backward-compatibility mode, the value of a sort key must not contain more than one item

XTTE1100

The
group-adjacent
attribute of
xsl:for-each-group
must evaluate to a single item

Other books

Whenever You Come Around by Robin Lee Hatcher
Next August by Kelly Moore
sidewayz glory by Todd Strasser, CRAIG PHILLIPS, Sammy Yuen Jr.
Hero by Mike Lupica
Prince of Fire by Daniel Silva
Fish in a Tree by Lynda Mullaly Hunt
Agincourt by Juliet Barker
Wolves among men by penelope sweet