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

Diff of /messaging/manakai/lib/Message/DOM/ProcessingInstruction.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by wakaba, Sat Jul 7 11:11:34 2007 UTC revision 1.8 by wakaba, Sun Jul 8 05:42:37 2007 UTC
# Line 108  sub node_type () { 7 } # PROCESSING_INST Line 108  sub node_type () { 7 } # PROCESSING_INST
108    
109  ## |Node| methods  ## |Node| methods
110    
111    sub append_child ($$) {
112      report Message::DOM::DOMException
113          -object => $_[0],
114          -type => 'HIERARCHY_REQUEST_ERR',
115          -subtype => 'CHILD_NODE_TYPE_ERR';
116    } # append_child
117    
118  sub manakai_append_text ($$) {  sub manakai_append_text ($$) {
119    ## NOTE: Same as |CharacterData|'s.    ## NOTE: Same as |CharacterData|'s.
120    if (${${$_[0]}->{owner_document}}->{strict_error_checking} and    if (${${$_[0]}->{owner_document}}->{strict_error_checking} and
# Line 120  sub manakai_append_text ($$) { Line 127  sub manakai_append_text ($$) {
127    ${$_[0]}->{data} .= ref $_[1] eq 'SCALAR' ? ${$_[1]} : $_[1];    ${$_[0]}->{data} .= ref $_[1] eq 'SCALAR' ? ${$_[1]} : $_[1];
128  } # manakai_append_text  } # manakai_append_text
129    
130    sub insert_before ($;$) {
131      report Message::DOM::DOMException
132          -object => $_[0],
133          -type => 'HIERARCHY_REQUEST_ERR',
134          -subtype => 'CHILD_NODE_TYPE_ERR';
135    } # insert_before
136    
137    sub replace_child ($$) {
138      report Message::DOM::DOMException
139          -object => $_[0],
140          -type => 'HIERARCHY_REQUEST_ERR',
141          -subtype => 'CHILD_NODE_TYPE_ERR';
142    } # replace_child
143    
144  ## |ProcessingInstruction| attributes  ## |ProcessingInstruction| attributes
145    
146  sub manakai_base_uri ($;$);  sub manakai_base_uri ($;$);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24