Skip Menu |

This queue is for tickets about the XML-Sablotron CPAN distribution.

Report information
The Basics
Id: 9685
Status: new
Priority: 0/
Queue: XML-Sablotron

Owner: Nobody in particular
Requestors: m.timmerman [...]

Bug Information
Severity: Normal
Broken in: 0.98
Fixed in: (no value)

Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.415 (Entity 5.415)
Subject: Bug in example of documentation about XML::Sablotron::DOM
X-RT-Original-Encoding: iso-8859-1
Content-Length: 1030
Module: XML-Sablotron-0.98 Perl Version: v5.8.5 uname -a: Linux pc206 2.6.9-1.681_FC3 #1 Thu Nov 18 15:10:10 EST 2004 i686 i686 i386 GNU/Linux Description; In the synopsis there is a short description about the usage of XML::Sablotron::DOM. You see it here below; ------------------------------ use XML::Sablotron::DOM; my $situa = new XML::Sablotron::Situation(); my $doc = new XML::Sablotron::DOM::Document(SITUATION => $sit); my $e = $doc->createElement($situa, "foo"); my $t = $doc->createTextNode($situa, "this is my text"); print $doc->toString(); ------------------------------ However, using this example creates a core dump. Looking for a description about createElement() and createTextNode() later in this document, the arguments are reversed which is the proper way (Doesn't give core dumps :-)). Please will you change this because using a quick example from the synopsis give users always an idea of how things are to be used. Would be bad when they move on trying to use other modules because of false errors.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to