Hitachi

uCosminexus Application Server XML Processor User Guide


6.8.5 Cases where XSLTC Does Not Report Errors

In some cases, for example, when the content of an element or attribute is invalid or when the function argument is invalid, XSLTC may not report errors. The following table lists and describes the cases where XSLTC does not report errors.

Table 6‒17: Notes on XSLTC (cases where XSLTC does not report errors)

No.

Notes

1

A stylesheet element other than the xsl:sort and xsl:with-param elements is specified as a child element of the xsl:apply-templates element.

2

An empty character string is specified for the select attribute of the xsl:apply-templates element.

3

Element content other than text is specified for the xsl:comment element.

4

A value that consists of two or more characters is specified for the following attributes of the xsl:decimal-format element:

  • decimal-separator

  • grouping-separator

  • minus-sign

  • percent

  • per-mille

  • zero-digit

  • pattern-separator

5

An element name qualified with a prefix is specified for the name attribute of the xsl:element or xsl:attribute element, and an empty character string is specified for the namespace attribute.

6

xsl:sort is specified as a child element for an element other than the first element of the xsl:for-each element.

7

Element content is specified for the xsl:import element.

8

The xsl:import element is not the first element of the top-level element, or the xsl:import or xsl:include element is not the top-level element.

9

An XPath expression that includes the key function is specified for the use attribute of the xsl:key element.

10

An xsl:message element is specified as a child element of the xsl:stylesheet element.

11

A value other than yes or no is specified for the terminate attribute of the xsl:message element.

12

There is no namespace declaration corresponding to the prefix specified for the stylesheet-prefix or result-prefix attribute of the xsl:namespace-alias element.

13

The stylesheet-prefix or result-prefix attribute of the xsl:namespace-alias element is not specified.

14

Element content is specified for the xsl:namespace-alias element.

15

A character string that does not match the Number rule for the grouping-size attribute of the xsl:number element is specified.

16

An invalid value is specified for the lang and level attributes of the xsl:number element.

17

An invalid value is specified for the letter-value attribute of the xsl:number element.

18

A variable reference whose value is an empty character string is specified for the grouping-separator attribute of the xsl:number element.

19

An invalid value is specified for the version attribute of the xsl:output element.

20

An invalid value is specified for the indent attribute of the xsl:output element.

21

An invalid value is specified for the standalone attribute of the xsl:output element.

22

An invalid value is specified for the omit-xml-declaration attribute of the xsl:output element.

23

An empty character string is specified for the select attribute of the xsl:param element.

24

An invalid value is specified for the data-type, order, or case-order attribute of the xsl:sort element.

25

The data-type, order, or case-order attribute of the xsl:sort element is a variable reference whose value is an empty character string.

26

A value specified in uppercase for the data-type, order, or case-order attribute of the xsl:sort element is handled as specified in lowercase.

27

Element content is specified for the xsl:strip-space, xsl:preserve-space, xsl:apply-imports element, and so on which cannot have any element content according to the specifications.

28

An invalid value is specified for the version attribute of the xsl:stylesheet element.

29

The namespace URI corresponding to the prefix specified for the exclude-result-prefixes attribute of the xsl:stylesheet element is not valid for the elements that have this attribute.

30

The xsl:stylesheet element is specified in the xsl:stylesheet element.

31

An empty character string is specified in the match attribute and in the mode attribute of the xsl:template element.

32

Neither the name attribute nor the match attribute is specified for the xsl:template element.

33

An empty character string is specified for the mode attribute of the xsl:template or xsl:apply-templates element.

34

An empty character string is specified for the priority attribute of the xsl:template element.

35

A literal result element appears before the first xsl:template element.

36

The xsl:template element has a mode attribute but does not have a match attribute.

37

Multiple xsl:with-param elements have the name attribute with the same value.

38

A value other than yes or no is specified for the disable-output-escaping attribute of the xsl:text element.

39

A value other than yes or no is specified for the disable-output-escaping attribute of the xsl:value-of element.

40

An empty character string is specified for the select attribute of the xsl:variable element.

41

Both the select attribute and the text content exist in the xsl:variable or xsl:param element.

42

An empty character string is specified for the select attribute of the xsl:with-param element.

43

The number of arguments of a following function call is invalid:

  • number function

  • boolean function

  • lang function

  • concat function

44

The second argument of the document function is an empty character string.

45

An empty character string is specified for the third argument of the format-number function.

46

If a key name that does not exist is specified for the first argument of the key function.

47

If the number of arguments of the unparsed-entity-uri function is invalid.