01: package net.sf.saxon.trans;
02:
03: /**
04: * The class acts as a register of Saxon-specific error codes.
05: * <p>
06: * Technically, these codes should be in their own namespace. At present, however, they share the
07: * same namespace as system-defined error codes.
08: */
09: public class SaxonErrorCode {
10:
11: /**
12: * SXLM0001: stylesheet or query appears to be looping/recursing indefinitely
13: */
14:
15: public static final String SXLM0001 = "SXLM0001";
16:
17: /**
18: * SXCH0002: cannot supply output to ContentHandler because it is not well-formed
19: */
20:
21: public static final String SXCH0002 = "SXCH0002";
22:
23: /**
24: * SXXP0003: error reported by XML parser while parsing source document
25: */
26:
27: public static final String SXXP0003 = "SXXP0003";
28:
29: /**
30: * SXIN0004: input document is not a stylesheet
31: */
32:
33: public static final String 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 SXWN9001 = "SXWN9001";
41:
42: /**
43: * SXWN9002: saxon:indent-spaces must be a positive integer
44: */
45:
46: public static final String SXWN9002 = "SXWN9002";
47:
48: /**
49: * SXWN9003: saxon:require-well-formed must be a "yes" or "no"
50: */
51:
52: public static final String SXWN9003 = "SXWN9003";
53:
54: /**
55: * SXWN9004: saxon:next-in-chain cannot be specified dynamically
56: */
57:
58: public static final String SXWN9004 = "SXWN9004";
59: }
|