Skip Menu |

This queue is for tickets about the RDF-Core CPAN distribution.

Report information
The Basics
Id: 53888
Status: new
Priority: 0/
Queue: RDF-Core

People
Owner: Nobody in particular
Requestors: EKAWAS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: bnode id generator in nodefactory
NodeFactory uses a simple counter to generate bnode ids. Probably would be more correct to utilize a random number generator instead. Like: sub _generateURI { my $self = shift; $self->getOptions->{GenPrefix} = '_:a' unless defined $self->getOptions->{GenPrefix}; my $bNode = $self->getOptions->{GenPrefix}. sprintf( "%08x%04x", time(), int(rand(0xFFFF))); return $bNode }