Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    2

    Unanswered: Problem parsing XML ("Parse position is outside of buffer")

    Hi!
    I'm having the error "Parse position is outside of buffer" while trying to parse a simple XML document.
    I'm using Perl and XML::XPath.
    Code:
    my $xml = <<_END;
    <root_node>
    <subnode>
    test
    </subnode>
    </rootnode>
    _END
    my $xp=XML::XPath->new(xml=>$xml);
    my $nodeset=$xp->find('//subnode'');
    When I use a file instead of "xml" (ie my $xp=XML::XPath->new(filename=>'text.xml'), everything is ok.

    What do I need to do ?
    Thanks,
    Cécilia.

  2. #2
    Join Date
    Jul 2004
    Posts
    2
    I've re installed every package and now every thing works fine.
    Sorry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •