Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Weirdness (and bugfix for) XML::DOM ...

by deprecated (Priest)
on Feb 25, 2001 at 14:43 UTC ( #60747=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    t/astress...........Unrecognized escape \d passed through at blib/lib/
    +XML/DOM.pm line 136.
    
  2. or download this
    # blib/lib/XML/DOM.pm line number 136 change:
    
    ...
    # to ...
    
    $ReCharRef  = qr!(?:\&#(?:\d+|x[0-9a-fA-F]+);)!;
    
  3. or download this
    t/attr..............Can't locate object method "equals" via package "X
    +ML::Parser::ContentModel" at CmpDOM.pm line 168.
    
  4. or download this
      if (ref ($p1))
      {
          return 0 unless $p1->equals ($p2, $cmp);
      }
    
  5. or download this
    # roughly line 500
    sub equals {
      $_[1] && $_[2] && return $_[0];
      undef;
    }
    
  6. or download this
    t/attr..............ok 23/23FAILED test 3                             
    +       
            Failed 1/23 tests, 95.65% okay
    ...
    
    t/print.............ok 3/3FAILED test 2                               
    +       
            Failed 1/3 tests, 66.67% okay
    
  7. or download this
    my $str = <<END;
    <!DOCTYPE simpsons [
    ...
    # warn "out - $out | str - $str";
    
    assert_ok ($out eq $str);
    
  8. or download this
    # this...
    
    ...
    hair (none | blue | yellow) "yellow"
    
    # which is from the HEREDOC above.
    
  9. or download this
    # change this...
     <!ELEMENT doc (beavis|butthead)*>
    ...
     <!ELEMENT doc (beavis | butthead)*>
    
    # and all is well.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://60747]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-09-28 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (125 votes). Check out past polls.

    Notices?