InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
XMLParserID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Lonnie Millett
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //
23 // Info: Contains IDs used by the XMLParser plugin for access to AXE.
24 //
25 //========================================================================================
26 
27 #ifndef __XMLParserID__
28 #define __XMLParserID__
29 
30 #include "CrossPlatformTypes.h"
31 #include "IDFactory.h"
32 
33 #define kXMLParserPrefix RezLong(0x17C00)
34 #define kXMLParserPrefix2 RezLong(0x10F00)
35 #define kXMLParserPrefix3 RezLong(0x19300)
36 #define kXMLParserPrefix4 RezLong(0x19400)
37 
38 // PluginID
39 #define kXMLParserPluginName "XMLParser"
40 
41 // <Start IDC>
42 
43 // <Class ID>
44 
45 // <Interface ID>
46 
47 // <Service ID>
48 
49 
50 // <Implementation ID>
51 
52 // <Error ID>
53 
54 // -- AXE Parser errors
55 // -- The initial range of errors map directly to the errors reported by the AXE parser
56 // -- and therefore MUST be reserved and not modified
57 
58 // -- Warnings: Generally for DTD validation
59 
60 
61 // -- Errors & Fatal Errors
62 
63 
64 // -- This range errors maps to the general parser error section of AXE. These errors start
65 // -- with 1000 and potentially end with 1999. For now we are mapping them between 160 and 199.
66 // -- This mapping is handled in SAXErrorHandler::GetIDErrorInfo.
67 
68 // -- This range errors maps to the extended error section of AXE. These errors start with 2000
69 // -- and potentially end with 2999. For now we are mapping them between 200 and 254. This
70 // -- mapping is handled in SAXErrorHandler::GetIDErrorInfo.
71 
72 // -- AXE System errors
73 // -- The initial range of errors map directly to the errors reported by the AXE system
74 // -- and therefore MUST be reserved and not modified. These are based off of XMLPrefix2
75 
76 // -- 119 through 128 are current unassigned for AXE 3.2
77 
78 // -- AXE XPath errors
79 // -- The initial range of errors map directly to the errors reported by the AXE system
80 // -- and therefore MUST be reserved and not modified. These are based off of XMLPrefix3
81 
82 // -- AXE DOM errors
83 // -- This range errors maps to the DOM error section of AXE.
84 // -- For now we are mapping them starting from 55
85 // -- This mapping is handled in SAXErrorHandler::GetIDErrorInfo.
86 
87 // -- AXE XSLT errors
88 // -- The initial range of errors map directly to the errors reported by the AXE system
89 // -- and therefore MUST be reserved and not modified. These are based off of XMLPrefix4
90 
91 
92 // -- InDesign errors
93 
94 
95 // DTD validity errors, note some of them are defined in AXE parser errors.
96 // See XMLDTDTokenHandler.cpp
97 
98 
99 
100 // Messages
101 
102 
103 #endif