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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sun Jul 8 13:04:36 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
CVS Tags: manakai-release-0-4-0, HEAD
Changes since 1.4: +13 -51 lines
++ manakai/t/ChangeLog	8 Jul 2007 13:03:58 -0000
	* DOM-Element.t: Tests for |attributes| are added.

	* DOM-Entity.t: Tests for |is_externally_declared|
	and |input_encoding| are added.

	* DOM-Node.t: Test data for |tag_name| and
	|get_feature| are added.

2007-07-08  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	8 Jul 2007 13:02:01 -0000
	* Attr.pm (value, node_value): Now it is defined
	as |text_content| itself.

	* AttributeDefinition.pm, ElementTypeDefinition.pm,
	Node.pm (AUTOLOAD): Unused block is removed.

	* CDATASection.pm, DocumentFragment.pm (AUTOLOAD): Removed.  Unused.

	* DocumentType.pm (internal_subset): Implemented.

	* Entity.pm (is_externally_declared, input_encoding,
	xml_version): Implemented.

	* ProcessingInstruction.pm (target, data): Implemented.

2007-07-08  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.1 package Message::DOM::DocumentFragment;
2     use strict;
3 wakaba 1.5 our $VERSION=do{my @r=(q$Revision: 1.4 $=~/\d+/g);sprintf "%d."."%02d" x $#r,@r};
4 wakaba 1.1 push our @ISA, 'Message::DOM::Node', 'Message::IF::DocumentFragment';
5     require Message::DOM::Node;
6    
7     sub ____new ($$) {
8     my $self = shift->SUPER::____new (shift);
9 wakaba 1.3 $$self->{child_nodes} = [];
10 wakaba 1.1 return $self;
11     } # ____new
12    
13 wakaba 1.4 ## |Node| attributes
14 wakaba 1.2
15 wakaba 1.5 sub node_name () { '#document-fragment' }
16 wakaba 1.2
17 wakaba 1.5 sub node_type () { 11 } # DOCUMENT_FRAGMENT_NODE
18 wakaba 1.1
19     package Message::IF::DocumentFragment;
20    
21     package Message::DOM::Document;
22    
23 wakaba 1.2 sub create_document_fragment ($) {
24 wakaba 1.1 return Message::DOM::DocumentFragment->____new ($_[0]);
25     } # create_document_fragment
26    
27 wakaba 1.5 =head1 LICENSE
28    
29     Copyright 2007 Wakaba <w@suika.fam.cx>
30    
31     This program is free software; you can redistribute it and/or
32     modify it under the same terms as Perl itself.
33    
34     =cut
35    
36 wakaba 1.1 1;
37 wakaba 1.5 ## $Date: 2007/06/17 13:37:40 $

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24