KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > saxon > trans > SaxonErrorCode


1 package net.sf.saxon.trans;
2
3 /**
4  * The class acts as a register of Saxon-specific error codes.
5  * <p>
6  * Technically, these codes should be in their own namespace. At present, however, they share the
7  * same namespace as system-defined error codes.
8  */

9 public class SaxonErrorCode {
10
11     /**
12      * SXLM0001: stylesheet or query appears to be looping/recursing indefinitely
13      */

14
15     public static final String JavaDoc SXLM0001 = "SXLM0001";
16
17     /**
18      * SXCH0002: cannot supply output to ContentHandler because it is not well-formed
19      */

20
21     public static final String JavaDoc SXCH0002 = "SXCH0002";
22
23     /**
24      * SXXP0003: error reported by XML parser while parsing source document
25      */

26
27     public static final String JavaDoc SXXP0003 = "SXXP0003";
28
29     /**
30      * SXIN0004: input document is not a stylesheet
31      */

32
33     public static final String JavaDoc SXIN0004 = "SXIN0004";
34         // There should really be a standard XSLT error code for this, but there isn't...
35

36     /**
37      * SXWN9001: a variable declaration with no following siblings has no effect
38      */

39
40     public static final String JavaDoc SXWN9001 = "SXWN9001";
41
42     /**
43      * SXWN9002: saxon:indent-spaces must be a positive integer
44      */

45
46     public static final String JavaDoc SXWN9002 = "SXWN9002";
47
48     /**
49      * SXWN9003: saxon:require-well-formed must be a "yes" or "no"
50      */

51
52     public static final String JavaDoc SXWN9003 = "SXWN9003";
53
54     /**
55      * SXWN9004: saxon:next-in-chain cannot be specified dynamically
56      */

57
58     public static final String JavaDoc SXWN9004 = "SXWN9004";
59 }
60
Popular Tags