Carrot Object Status Codes Reference ---------------------------------------- 1000 - Lexer Status Codes ------------------------- 000 - Normal operation 0 Normal operation 1 Work complete; all files processed 100 - File error 100 Unknown file open/read error 101 File does not exist 102 File is unreadable (bad permissions) 103 File is not a regular file 104 "File" is a scalar, but no text was provided 105 Duplicate file 2000 - DOM Status Codes ----------------------- 000 - Normal operation 0 Normal operation 100 - Node creation error 100 Unknown node creation error 101 No nodetype specified 102 Invalid nodetype specified 103 Invalid node specified as parent 104 Can't create TEXT node without content 105 Can't create non-TEXT node without element name 106 Invalid parent nodeid specified 107 No fileinfo specified 108 Duplicate/invalid textual id specified 200 - Pointer movement error 200 Unknown pointer movement error 201 Invalid node specified 300 - Node access error 300 Unknown node access error 301 Invalid node specified in access attempt 302 Attempt to get content, but node has none 303 Attempt to get children, but node has none 304 Attempt to get attributes, but node has none 305 Attempt to get name, but node has none 306 Attempt to get textual id, but node has none 400 - Node modification error 400 Unknown node modification error 401 Attempt to set attributes, but argument formatting is invalid 402 Attempt to set name, id, or attributes on TEXT node 403 Attempt to set content on non-TEXT node 404 Attempt to reset write-once value on node 900 - Object creation error 900 Unknown object creation error 901 No filename given for DOM datastores 902 No docinfo passed when neccessary 903 Docinfo formatting is invalid 904 Cannot connect to DOM tree datastore 905 Cannot connect to DOM text datastore 3000 - Handler Status Codes --------------------------- 000 - Normal operation 0 Normal operation 1 Current node processed (complete) 2 Current node processed (partial) 3 Previous node terminator found 9 Lexer status has been set 100 - Generic grammar violations 100 Opening markup found with no element name 101 Reference ID indicated but null 102 Null argument value 103 Null argument name 104 End-of-document reached while in element 200 - Trigger violations 200 Invalid trigger opening position 201 Invalid trigger closing position 202 Multiple document triggers found 300 - Verbatim violations 300 Invalid verbatim opening position 301 Invalid verbatim closing position (No leading newline) 302 Invalid verbatim closing position (No trailing newline) 400 - Tag violations 400 Trigger or verbatim found in tag content 500 - Entity violations 500 Malformed entity 600 - Attribute violations 600 Unknown attribute found 601 Required attribute missing 602 Attribute value has wrong/unknown type 603 Attribute value out-of-bounds 900 - Object creation error 900 Unknown object creation error 901 No markup passed 902 Invalid markup passed