/[suikacvs]/messaging/manakai/lib/Message/DOM/DOMException.pm
Suika

Contents of /messaging/manakai/lib/Message/DOM/DOMException.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jun 16 08:05:48 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
++ manakai/t/ChangeLog	16 Jun 2007 08:01:18 -0000
	* DOM-NodeList.t: New test.

2007-06-16  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	16 Jun 2007 08:05:30 -0000
	* Attr.pm, AttributeDefinition.pm, DocumentFragment.pm,
	DocumentType.pm, Entity.pm,
	EntityReference.pm (____new): Initialize |child_nodes| by an empty list.

	* Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm,
	Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned.

	* DOMDocument.pm (AUTOLOAD): Typo fixed.

	* Node.pm (==, !=): Implemented.
	(manakai_read_only): Implemented.
	(is_same_node): Implemented.
	(is_equal_node): Alpha version.
	(manakai_set_read_only): Alpha version.
	(child_nodes, first_child, last_child, previous_sibling): Duplicate
	definitions are removed.

2007-06-16  Wakaba  <wakaba@suika.fam.cx>

1 package Message::DOM::DOMException;
2 use strict;
3 our $VERSION=do{my @r=(q$Revision: 1.3 $=~/\d+/g);sprintf "%d."."%02d" x $#r,@r};
4 push our @ISA, 'Message::Util::Error', 'Message::IF::DOMException';
5 require Message::Util::Error;
6
7 sub ___error_def () {+{
8 NO_MODIFICATION_ALLOWED_ERR => {
9 -code => 7,
10 -subtype => {
11 READ_ONLY_NODE_LIST_ERR => {
12 -description => q(Can't modify read-only node list),
13 },
14 },
15 },
16 }} # ___error_def
17
18 package Message::IF::DOMException;
19
20 ## DOM1
21 sub INDEX_SIZE_ERR () { 1 }
22 sub DOMSTRING_SIZE_ERR () { 2 }
23 sub HIERARCHY_REQUEST_ERR () { 3 }
24 sub WRONG_DOCUMENT_ERR () { 4 }
25 sub INVALID_CHARACTER_ERR () { 5 }
26 sub NO_DATA_ALLOWED_ERR () { 6 }
27 sub NO_MODIFICATION_ALLOWED_ERR () { 7 }
28 sub NOT_FOUND_ERR () { 8 }
29 sub NOT_SUPPORTED_ERR () { 9 }
30 sub INUSE_ATTRIBUTE_ERR () { 10 }
31 ## DOM2
32 sub INVALID_STATE_ERR () { 11 }
33 sub SYNTAX_ERR () { 12 }
34 sub INVALID_MODIFICATION_ERR () { 13 }
35 sub NAMESPACE_ERR () { 14 }
36 sub INVALID_ACCESS_ERR () { 15 }
37 ## DOM3
38 sub VALIDATION_ERR () { 16 }
39 sub TYPE_MISMATCH_ERR () { 17 }
40
41 =head1 LICENSE
42
43 Copyright 2007 Wakaba <w@suika.fam.cx>
44
45 This program is free software; you can redistribute it and/or
46 modify it under the same terms as Perl itself.
47
48 =cut
49
50 1;
51 ## $Date: 2007/06/15 16:12:28 $

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24