This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.106-1
in repository librdf-rdfa-generator-perl.

commit 9adaa6f7506554de393825008a7c74c1ac6e88c5
Author: Toby Inkster <m...@tobyinkster.co.uk>
Date:   Wed Jul 13 11:20:00 2011 +0000

    misc
    
    --HG--
    branch : RDF-RDFa-Generator
    extra : convert_revision : 
svn%3A3fe8e991-6959-4966-b76d-b07eca2b6e37/RDF-RDFa-Generator%40855
---
 Changes                                    |  12 +-
 Changes.ttl                                |  18 +-
 Changes.xml                                | 360 +++++++++++++++--------------
 MANIFEST                                   |   1 +
 META.yml                                   |   4 +-
 RDF-RDFa-Generator-0.102.tar.gz            | Bin 0 -> 39092 bytes
 TODO                                       |   1 -
 example1.pl                                |   2 +-
 lib/RDF/RDFa/Generator.pm                  |   2 +-
 lib/RDF/RDFa/Generator/HTML/Head.pm        |   6 +-
 lib/RDF/RDFa/Generator/HTML/Hidden.pm      |   4 +-
 lib/RDF/RDFa/Generator/HTML/Pretty.pm      |   4 +-
 lib/RDF/RDFa/Generator/HTML/Pretty/Note.pm |   2 +-
 t/02_kk_namespaces.t                       |  27 +++
 14 files changed, 254 insertions(+), 189 deletions(-)

diff --git a/Changes b/Changes
index cbea89e..fc86fd5 100644
--- a/Changes
+++ b/Changes
@@ -10,11 +10,15 @@ Home page:    
<http://search.cpan.org/dist/RDF-RDFa-Generator/>
 Bug tracker:  <http://rt.cpan.org/Dist/Display.html?Queue=RDF-RDFa-Generator>
 Maintainer:   Toby Inkster <mailto:toby...@cpan.org>
 
+0.102 [2011-07-06]
+ - (Bugfix) <meta> element should name @name, not @nane.
+ - (Bugfix) Namespaces in HTML::Head and HTML::Hidden.
+
 0.101 [2010-09-06]
- - (Addition) Icons for a few extra classes.
- - (Addition) use RDF::Prefixes.
  - (Addition) Support 'namespaces' option for the constructor, for
    compatibility with other Trine serialisers.
+ - (Addition) use RDF::Prefixes.
+ - (Addition) Icons for a few extra classes.
 
 0.100 [2010-07-25]
  - (Addition) HTML::Pretty now includes cross-links to other resources.
@@ -23,14 +27,14 @@ Maintainer:   Toby Inkster <mailto:toby...@cpan.org>
  - (Bugfix) UTF-8 fixes.
 
 0.04 [2010-05-21]
- - HTML::Pretty no longer makes 'javascript:' URLs into links.
  - HTML::Hidden and HTML::Pretty now use @about instead of @src to set the
    subject URI.
+ - HTML::Pretty no longer makes 'javascript:' URLs into links.
 
 0.03 [2010-05-19]
+ - (Bugfix) HTML::Pretty Fallback to sorting by object now works.
  - (Addition) HTML::Pretty can now force safe HTML (prevents injection
    attacks).
- - (Bugfix) HTML::Pretty Fallback to sorting by object now works.
 
 0.02 [2010-05-18]
  - Using FamFamFam Silk icons.
diff --git a/Changes.ttl b/Changes.ttl
index 071f06c..1943340 100644
--- a/Changes.ttl
+++ b/Changes.ttl
@@ -1,6 +1,8 @@
 #############################################################
 
 @prefix :        <http://usefulinc.com/ns/doap#> .
+@prefix author:  <http://purl.org/NET/cpan-uri/person/> .
+@prefix dbug:    <http://ontologi.es/doap-bugs#> .
 @prefix dcs:     <http://ontologi.es/doap-changeset#> .
 @prefix dc:      <http://purl.org/dc/terms/> .
 @prefix foaf:    <http://xmlns.com/foaf/0.1/> .
@@ -99,6 +101,18 @@ my:v_0-101
                        dcs:item [ rdfs:label "Icons for a few extra 
classes."@en ; a dcs:Addition ] 
                ] .
 
+my:v_0-102
+
+       a               :Version ;
+       dc:issued       "2011-07-06"^^xsd:date ;
+       :revision       "0.102"^^xsd:string ;
+       :file-release   
<http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.102.tar.gz>
 ;
+       dcs:changeset [
+                       dcs:versus my:v_0-101 ;
+                       dcs:item [ rdfs:label "<meta> element should name 
@name, not @nane."@en ; a dcs:Bugfix ; dcs:fixes [dbug:reporter author:kjetilk] 
] ;
+                       dcs:item [ rdfs:label "Namespaces in HTML::Head and 
HTML::Hidden."@en ; a dcs:Bugfix ; dcs:fixes [dbug:reporter author:kjetilk] ] 
+               ] .
+
 #############################################################
 
 my:project
@@ -118,7 +132,7 @@ my:project
        :created        "2010-05-05"^^xsd:date ;
        :license        <http://dev.perl.org/licenses/> ;
        :release        my:v_0-01 , my:v_0-02 , my:v_0-03 , my:v_0-04 , 
my:v_0-05 ,
-                       my:v_0-100 , my:v_0-101 .
+                       my:v_0-100 , my:v_0-101 , my:v_0-102 .
 
 #############################################################
 
@@ -129,6 +143,6 @@ toby:i
        foaf:homepage   <http://tobyinkster.co.uk/> ;
        foaf:page       <http://search.cpan.org/~tobyink/> ;
        foaf:mbox       <mailto:toby...@cpan.org> ;
-       <http://www.w3.org/2002/07/owl#sameAs> 
<http://purl.org/NET/cpan-uri/person/tobyink> .
+       <http://www.w3.org/2002/07/owl#sameAs> author:tobyink .
 
 #############################################################
diff --git a/Changes.xml b/Changes.xml
index 353dadb..24eaa8f 100644
--- a/Changes.xml
+++ b/Changes.xml
@@ -1,172 +1,192 @@
 <?xml version="1.0" encoding="utf-8"?>
-<rdf:RDF
-   xmlns:dc="http://purl.org/dc/terms/";
-   xmlns:dcs="http://ontologi.es/doap-changeset#";
-   xmlns:foaf="http://xmlns.com/foaf/0.1/";
-   xmlns:my="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/";
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
-   xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
-   xmlns:toby="http://tobyinkster.co.uk/#";
-   xmlns:xsd="http://www.w3.org/2001/XMLSchema#";
-   xmlns="http://usefulinc.com/ns/doap#";>
-  <rdf:Description 
rdf:about="file:///home/tai/src/perlmods/RDF-RDFa-Generator/Changes.ttl">
-    <dc:creator rdf:resource="http://tobyinkster.co.uk/#i"/>
-    <dc:description xml:lang="en">Revision history for Perl extension 
RDF::RDFa::Generator.</dc:description>
-    <dc:subject 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/project"/>
-    <dc:title>Changes</dc:title>
-  </rdf:Description>
-  <Version 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-01";>
-    <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-09</dc:issued>
-    <file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.01.tar.gz"/>
-    <revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.01</revision>
-    <rdfs:comment xml:lang="en">Original version</rdfs:comment>
-  </Version>
-  <Version 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-02";>
-    <dcs:changeset>
-      <rdf:Description>
-        <dcs:item>
-          <rdf:Description>
-            <rdfs:label xml:lang="en">Using FamFamFam Silk icons.</rdfs:label>
-          </rdf:Description>
-        </dcs:item>
-        <dcs:item>
-          <dcs:Addition>
-            <rdfs:label xml:lang="en">HTML::Pretty can now include additional 
textual notes in the output. This functionality added for 
RDF::RDFa::Linter.</rdfs:label>
-          </dcs:Addition>
-        </dcs:item>
-        <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-01"/>
-      </rdf:Description>
-    </dcs:changeset>
-    <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-18</dc:issued>
-    <file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.02.tar.gz"/>
-    <revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.02</revision>
-  </Version>
-  <Version 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-03";>
-    <dcs:changeset>
-      <rdf:Description>
-        <dcs:item>
-          <dcs:Bugfix>
-            <rdfs:label xml:lang="en">HTML::Pretty Fallback to sorting by 
object now works.</rdfs:label>
-          </dcs:Bugfix>
-        </dcs:item>
-        <dcs:item>
-          <dcs:Addition>
-            <rdfs:label xml:lang="en">HTML::Pretty can now force safe HTML 
(prevents injection attacks).</rdfs:label>
-          </dcs:Addition>
-        </dcs:item>
-        <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-02"/>
-      </rdf:Description>
-    </dcs:changeset>
-    <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-19</dc:issued>
-    <file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.03.tar.gz"/>
-    <revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.03</revision>
-  </Version>
-  <Version 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-04";>
-    <dcs:changeset>
-      <rdf:Description>
-        <dcs:item>
-          <rdf:Description>
-            <rdfs:label xml:lang="en">HTML::Hidden and HTML::Pretty now use 
@about instead of @src to set the subject URI.</rdfs:label>
-          </rdf:Description>
-        </dcs:item>
-        <dcs:item>
-          <rdf:Description>
-            <rdfs:label xml:lang="en">HTML::Pretty no longer makes 
'javascript:' URLs into links.</rdfs:label>
-          </rdf:Description>
-        </dcs:item>
-        <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-03"/>
-      </rdf:Description>
-    </dcs:changeset>
-    <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-21</dc:issued>
-    <file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.04.tar.gz"/>
-    <revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.04</revision>
-  </Version>
-  <Version 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-05";>
-    <dcs:changeset>
-      <rdf:Description>
-        <dcs:item>
-          <dcs:Bugfix>
-            <rdfs:label xml:lang="en">UTF-8 fixes.</rdfs:label>
-          </dcs:Bugfix>
-        </dcs:item>
-        <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-04"/>
-      </rdf:Description>
-    </dcs:changeset>
-    <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-27</dc:issued>
-    <file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.05.tar.gz"/>
-    <revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.05</revision>
-  </Version>
-  <Version 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-100";>
-    <dcs:changeset>
-      <rdf:Description>
-        <dcs:item>
-          <dcs:Addition>
-            <rdfs:label xml:lang="en">HTML::Pretty now includes cross-links to 
other resources.</rdfs:label>
-          </dcs:Addition>
-        </dcs:item>
-        <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-05"/>
-      </rdf:Description>
-    </dcs:changeset>
-    <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-07-25</dc:issued>
-    <file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.100.tar.gz"/>
-    <revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.100</revision>
-  </Version>
-  <Version 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-101";>
-    <dcs:changeset>
-      <rdf:Description>
-        <dcs:item>
-          <dcs:Addition>
-            <rdfs:label xml:lang="en">use RDF::Prefixes.</rdfs:label>
-          </dcs:Addition>
-        </dcs:item>
-        <dcs:item>
-          <dcs:Addition>
-            <rdfs:label xml:lang="en">Support 'namespaces' option for the 
constructor, for compatibility with other Trine serialisers.</rdfs:label>
-          </dcs:Addition>
-        </dcs:item>
-        <dcs:item>
-          <dcs:Addition>
-            <rdfs:label xml:lang="en">Icons for a few extra 
classes.</rdfs:label>
-          </dcs:Addition>
-        </dcs:item>
-        <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-100"/>
-      </rdf:Description>
-    </dcs:changeset>
-    <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-09-06</dc:issued>
-    <file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.101.tar.gz"/>
-    <revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.101</revision>
-  </Version>
-  <Project 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/project";>
-    <bug-database 
rdf:resource="http://rt.cpan.org/Dist/Display.html?Queue=RDF-RDFa-Generator"/>
-    <created 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-05</created>
-    <developer rdf:resource="http://tobyinkster.co.uk/#i"/>
-    <documenter rdf:resource="http://tobyinkster.co.uk/#i"/>
-    <download-page 
rdf:resource="http://search.cpan.org/dist/RDF-RDFa-Generator/"/>
-    <homepage rdf:resource="http://search.cpan.org/dist/RDF-RDFa-Generator/"/>
-    <license rdf:resource="http://dev.perl.org/licenses/"/>
-    <maintainer rdf:resource="http://tobyinkster.co.uk/#i"/>
-    <name>RDF-RDFa-Generator</name>
-    <programming-language>Perl</programming-language>
-    <release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-01"/>
-    <release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-02"/>
-    <release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-03"/>
-    <release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-04"/>
-    <release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-05"/>
-    <release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-100"/>
-    <release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-101"/>
-    <repository>
-      <SVNRepository>
-        <browse 
rdf:resource="http://goddamn.co.uk/viewvc/perlmods/RDF-RDFa-Generator/"/>
-      </SVNRepository>
-    </repository>
-    <shortdesc xml:lang="en">generate some data in RDFa</shortdesc>
-    <tester rdf:resource="http://tobyinkster.co.uk/#i"/>
-  </Project>
-  <foaf:Person rdf:about="http://tobyinkster.co.uk/#i";>
-    <ns1:sameAs xmlns:ns1="http://www.w3.org/2002/07/owl#"; 
rdf:resource="http://purl.org/NET/cpan-uri/person/tobyink"/>
-    <foaf:homepage rdf:resource="http://tobyinkster.co.uk/"/>
-    <foaf:mbox rdf:resource="mailto:toby...@cpan.org"/>
-    <foaf:name>Toby Inkster</foaf:name>
-    <foaf:page rdf:resource="http://search.cpan.org/~tobyink/"/>
-  </foaf:Person>
+<rdf:RDF xmlns:dbug="http://ontologi.es/doap-bugs#"; 
xmlns:dc="http://purl.org/dc/terms/"; 
xmlns:dcs="http://ontologi.es/doap-changeset#"; 
xmlns:doap="http://usefulinc.com/ns/doap#"; 
xmlns:foaf="http://xmlns.com/foaf/0.1/"; 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; 
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r0">
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r1"/>
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r2"/>
+       <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-01"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r1">
+       <rdfs:label xml:lang="en">Using FamFamFam Silk icons.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r10">
+       <rdf:type rdf:resource="http://ontologi.es/doap-changeset#Bugfix"/>
+       <rdfs:label xml:lang="en">UTF-8 fixes.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r11">
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r12"/>
+       <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-05"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r12">
+       <rdf:type rdf:resource="http://ontologi.es/doap-changeset#Addition"/>
+       <rdfs:label xml:lang="en">HTML::Pretty now includes cross-links to 
other resources.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r13">
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r14"/>
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r15"/>
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r16"/>
+       <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-100"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r14">
+       <rdf:type rdf:resource="http://ontologi.es/doap-changeset#Addition"/>
+       <rdfs:label xml:lang="en">use RDF::Prefixes.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r15">
+       <rdf:type rdf:resource="http://ontologi.es/doap-changeset#Addition"/>
+       <rdfs:label xml:lang="en">Support 'namespaces' option for the 
constructor, for compatibility with other Trine serialisers.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r16">
+       <rdf:type rdf:resource="http://ontologi.es/doap-changeset#Addition"/>
+       <rdfs:label xml:lang="en">Icons for a few extra classes.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r17">
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r18"/>
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r20"/>
+       <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-101"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r18">
+       <dcs:fixes rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r19"/>
+       <rdf:type rdf:resource="http://ontologi.es/doap-changeset#Bugfix"/>
+       <rdfs:label xml:lang="en">&lt;meta> element should name @name, not 
@nane.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r19">
+       <dbug:reporter 
rdf:resource="http://purl.org/NET/cpan-uri/person/kjetilk"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r2">
+       <rdf:type rdf:resource="http://ontologi.es/doap-changeset#Addition"/>
+       <rdfs:label xml:lang="en">HTML::Pretty can now include additional 
textual notes in the output. This functionality added for 
RDF::RDFa::Linter.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r20">
+       <dcs:fixes rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r21"/>
+       <rdf:type rdf:resource="http://ontologi.es/doap-changeset#Bugfix"/>
+       <rdfs:label xml:lang="en">Namespaces in HTML::Head and 
HTML::Hidden.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r21">
+       <dbug:reporter 
rdf:resource="http://purl.org/NET/cpan-uri/person/kjetilk"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r22">
+       <doap:browse 
rdf:resource="http://goddamn.co.uk/viewvc/perlmods/RDF-RDFa-Generator/"/>
+       <rdf:type rdf:resource="http://usefulinc.com/ns/doap#SVNRepository"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r3">
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r4"/>
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r5"/>
+       <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-02"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r4">
+       <rdf:type rdf:resource="http://ontologi.es/doap-changeset#Bugfix"/>
+       <rdfs:label xml:lang="en">HTML::Pretty Fallback to sorting by object 
now works.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r5">
+       <rdf:type rdf:resource="http://ontologi.es/doap-changeset#Addition"/>
+       <rdfs:label xml:lang="en">HTML::Pretty can now force safe HTML 
(prevents injection attacks).</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r6">
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r7"/>
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r8"/>
+       <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-03"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r7">
+       <rdfs:label xml:lang="en">HTML::Hidden and HTML::Pretty now use @about 
instead of @src to set the subject URI.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r8">
+       <rdfs:label xml:lang="en">HTML::Pretty no longer makes 'javascript:' 
URLs into links.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r9">
+       <dcs:item rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r10"/>
+       <dcs:versus 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-04"/>
+</rdf:Description>
+<rdf:Description 
rdf:about="file:///home/tai/src/perlmods/RDF-RDFa-Generator/Changes.ttl">
+       <dc:creator rdf:resource="http://tobyinkster.co.uk/#i"/>
+       <dc:description xml:lang="en">Revision history for Perl extension 
RDF::RDFa::Generator.</dc:description>
+       <dc:subject 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/project"/>
+       <dc:title>Changes</dc:title>
+</rdf:Description>
+<rdf:Description 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/project";>
+       <doap:bug-database 
rdf:resource="http://rt.cpan.org/Dist/Display.html?Queue=RDF-RDFa-Generator"/>
+       <doap:created 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-05</doap:created>
+       <doap:developer rdf:resource="http://tobyinkster.co.uk/#i"/>
+       <doap:documenter rdf:resource="http://tobyinkster.co.uk/#i"/>
+       <doap:download-page 
rdf:resource="http://search.cpan.org/dist/RDF-RDFa-Generator/"/>
+       <doap:homepage 
rdf:resource="http://search.cpan.org/dist/RDF-RDFa-Generator/"/>
+       <doap:license rdf:resource="http://dev.perl.org/licenses/"/>
+       <doap:maintainer rdf:resource="http://tobyinkster.co.uk/#i"/>
+       <doap:name>RDF-RDFa-Generator</doap:name>
+       <doap:programming-language>Perl</doap:programming-language>
+       <doap:release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-01"/>
+       <doap:release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-02"/>
+       <doap:release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-03"/>
+       <doap:release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-04"/>
+       <doap:release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-05"/>
+       <doap:release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-100"/>
+       <doap:release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-101"/>
+       <doap:release 
rdf:resource="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-102"/>
+       <doap:repository rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r22"/>
+       <doap:shortdesc xml:lang="en">generate some data in 
RDFa</doap:shortdesc>
+       <doap:tester rdf:resource="http://tobyinkster.co.uk/#i"/>
+       <rdf:type rdf:resource="http://usefulinc.com/ns/doap#Project"/>
+</rdf:Description>
+<rdf:Description 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-01";>
+       <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-09</dc:issued>
+       <doap:file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.01.tar.gz"/>
+       <doap:revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.01</doap:revision>
+       <rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+       <rdfs:comment xml:lang="en">Original version</rdfs:comment>
+</rdf:Description>
+<rdf:Description 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-02";>
+       <dcs:changeset rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r0"/>
+       <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-18</dc:issued>
+       <doap:file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.02.tar.gz"/>
+       <doap:revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.02</doap:revision>
+       <rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+</rdf:Description>
+<rdf:Description 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-03";>
+       <dcs:changeset rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r3"/>
+       <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-19</dc:issued>
+       <doap:file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.03.tar.gz"/>
+       <doap:revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.03</doap:revision>
+       <rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+</rdf:Description>
+<rdf:Description 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-04";>
+       <dcs:changeset rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r6"/>
+       <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-21</dc:issued>
+       <doap:file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.04.tar.gz"/>
+       <doap:revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.04</doap:revision>
+       <rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+</rdf:Description>
+<rdf:Description 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-05";>
+       <dcs:changeset rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r9"/>
+       <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-05-27</dc:issued>
+       <doap:file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.05.tar.gz"/>
+       <doap:revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.05</doap:revision>
+       <rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+</rdf:Description>
+<rdf:Description 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-100";>
+       <dcs:changeset rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r11"/>
+       <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-07-25</dc:issued>
+       <doap:file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.100.tar.gz"/>
+       <doap:revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.100</doap:revision>
+       <rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+</rdf:Description>
+<rdf:Description 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-101";>
+       <dcs:changeset rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r13"/>
+       <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2010-09-06</dc:issued>
+       <doap:file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.101.tar.gz"/>
+       <doap:revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.101</doap:revision>
+       <rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+</rdf:Description>
+<rdf:Description 
rdf:about="http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Generator/v_0-102";>
+       <dcs:changeset rdf:nodeID="r7A884604A7F611E0BD1AEA32E2081E58r17"/>
+       <dc:issued 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2011-07-06</dc:issued>
+       <doap:file-release 
rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-RDFa-Generator-0.102.tar.gz"/>
+       <doap:revision 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>0.102</doap:revision>
+       <rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://www.w3.org/2002/07/owl#"; 
rdf:about="http://tobyinkster.co.uk/#i";>
+       <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
+       <ns1:sameAs rdf:resource="http://purl.org/NET/cpan-uri/person/tobyink"/>
+       <foaf:homepage rdf:resource="http://tobyinkster.co.uk/"/>
+       <foaf:mbox rdf:resource="mailto:toby...@cpan.org"/>
+       <foaf:name>Toby Inkster</foaf:name>
+       <foaf:page rdf:resource="http://search.cpan.org/~tobyink/"/>
+</rdf:Description>
 </rdf:RDF>
diff --git a/MANIFEST b/MANIFEST
index b3b2c51..b5ef96d 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -10,6 +10,7 @@ SIGNATURE
 TODO
 
 t/01basic.t
+t/02_kk_namespaces.t
 
 lib/RDF/RDFa/Generator.pm
 lib/RDF/RDFa/Generator/HTML/Head.pm
diff --git a/META.yml b/META.yml
index ed0ee3c..ee2261c 100644
--- a/META.yml
+++ b/META.yml
@@ -8,7 +8,7 @@ build_requires:
 configure_requires:
   ExtUtils::MakeMaker: 6.42
 distribution_type: module
-generated_by: 'Module::Install version 0.91'
+generated_by: 'Module::Install version 1.00'
 keywords:
   - RDF
   - RDFa
@@ -42,4 +42,4 @@ resources:
   homepage: http://search.cpan.org/dist/RDF-RDFa-Generator/
   license: http://dev.perl.org/licenses/
   repository: http://goddamn.co.uk/viewvc/perlmods/RDF-RDFa-Generator/
-version: 0.101
+version: 0.102
diff --git a/RDF-RDFa-Generator-0.102.tar.gz b/RDF-RDFa-Generator-0.102.tar.gz
new file mode 100644
index 0000000..788feac
Binary files /dev/null and b/RDF-RDFa-Generator-0.102.tar.gz differ
diff --git a/TODO b/TODO
index 3bde364..966ef54 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,3 @@
 * Add an Atom (DataRSS) generator.
 * More icons for HTML::Pretty.
 * Add links between resources in HTML::Pretty.
-* Add keywords to Makefile.PL
diff --git a/example1.pl b/example1.pl
index 3cf846a..7e399cf 100644
--- a/example1.pl
+++ b/example1.pl
@@ -23,5 +23,5 @@ my $graph = rdf_parse(<<TURTLE, type=>'turtle');
 
 TURTLE
 
-my @nodes = 
RDF::RDFa::Generator->new(style=>'HTML::Pretty')->nodes($graph,id_prefix=>'id-',interlink=>'see
 also');
+my @nodes = 
RDF::RDFa::Generator->new(style=>'HTML::Head')->nodes($graph,id_prefix=>'id-',interlink=>'see
 also');
 print $_->toString foreach @nodes;
diff --git a/lib/RDF/RDFa/Generator.pm b/lib/RDF/RDFa/Generator.pm
index 88b67b5..c447982 100644
--- a/lib/RDF/RDFa/Generator.pm
+++ b/lib/RDF/RDFa/Generator.pm
@@ -9,7 +9,7 @@ package RDF::RDFa::Generator;
 use 5.008;
 use common::sense;
 
-our $VERSION = '0.101';
+our $VERSION = '0.102';
 
 use RDF::RDFa::Generator::HTML::Head;
 use RDF::RDFa::Generator::HTML::Hidden;
diff --git a/lib/RDF/RDFa/Generator/HTML/Head.pm 
b/lib/RDF/RDFa/Generator/HTML/Head.pm
index c4cbf9d..9d6e55d 100644
--- a/lib/RDF/RDFa/Generator/HTML/Head.pm
+++ b/lib/RDF/RDFa/Generator/HTML/Head.pm
@@ -7,7 +7,7 @@ use Encode qw'encode_utf8';
 use RDF::Prefixes;
 use XML::LibXML qw':all';
 
-our $VERSION = '0.101';
+our $VERSION = '0.102';
 
 sub new
 {
@@ -65,7 +65,7 @@ sub create_document
 <html xmlns="http://www.w3.org/1999/xhtml"; version="XHTML+RDFa %1\$s">
 <head profile="http://www.w3.org/1999/xhtml/vocab";>
 <title>%2\$s</title>
-<meta nane="generator" value="%3\$s" />
+<meta name="generator" value="%3\$s" />
 </head>
 <body />
 </html>
@@ -116,7 +116,7 @@ sub nodes
                {
                        while (my ($u,$p) = each(%$prefixes))
                        {
-                               $node->setNamespace($u, $p, 0);
+                               $node->setNamespace($p, $u, 0);
                        }
                }
                
diff --git a/lib/RDF/RDFa/Generator/HTML/Hidden.pm 
b/lib/RDF/RDFa/Generator/HTML/Hidden.pm
index c4b6576..0c28432 100644
--- a/lib/RDF/RDFa/Generator/HTML/Hidden.pm
+++ b/lib/RDF/RDFa/Generator/HTML/Hidden.pm
@@ -6,7 +6,7 @@ use common::sense;
 use RDF::Prefixes;
 use XML::LibXML qw':all';
 
-our $VERSION = '0.101';
+our $VERSION = '0.102';
 
 sub injection_site
 {
@@ -61,7 +61,7 @@ sub nodes
        {
                while (my ($u,$p) = each(%$prefixes))
                {
-                       $rootnode->setNamespace($u, $p, 0);
+                       $rootnode->setNamespace($p, $u, 0);
                }
        }
        
diff --git a/lib/RDF/RDFa/Generator/HTML/Pretty.pm 
b/lib/RDF/RDFa/Generator/HTML/Pretty.pm
index a279727..21ba8d2 100644
--- a/lib/RDF/RDFa/Generator/HTML/Pretty.pm
+++ b/lib/RDF/RDFa/Generator/HTML/Pretty.pm
@@ -9,7 +9,7 @@ use Icon::FamFamFam::Silk;
 use RDF::RDFa::Generator::HTML::Pretty::Note;
 use XML::LibXML qw':all';
 
-our $VERSION = '0.101';
+our $VERSION = '0.102';
 
 sub create_document
 {
@@ -20,7 +20,7 @@ sub create_document
 <html xmlns="http://www.w3.org/1999/xhtml"; version="XHTML+RDFa %1\$s">
 <head profile="http://www.w3.org/1999/xhtml/vocab";>
 <title>%2\$s</title>
-<meta nane="generator" value="%3\$s" />
+<meta name="generator" value="%3\$s" />
 </head>
 <body>
 <h1>%2\$s</h1>
diff --git a/lib/RDF/RDFa/Generator/HTML/Pretty/Note.pm 
b/lib/RDF/RDFa/Generator/HTML/Pretty/Note.pm
index 4a5a2d4..d76d1b5 100644
--- a/lib/RDF/RDFa/Generator/HTML/Pretty/Note.pm
+++ b/lib/RDF/RDFa/Generator/HTML/Pretty/Note.pm
@@ -11,7 +11,7 @@ use common::sense;
 use constant XHTML_NS => 'http://www.w3.org/1999/xhtml';
 use XML::LibXML qw':all';
 
-our $VERSION = '0.101';
+our $VERSION = '0.102';
 
 =head1 DESCRIPTION
 
diff --git a/t/02_kk_namespaces.t b/t/02_kk_namespaces.t
new file mode 100644
index 0000000..aaacbde
--- /dev/null
+++ b/t/02_kk_namespaces.t
@@ -0,0 +1,27 @@
+#!/usr/bin/perl
+
+# tests from KjetilK
+
+use strict;
+use Test::More;
+
+use RDF::Trine::Model;
+
+my $model = RDF::Trine::Model->temporary_model;
+
+use RDF::Trine::Parser;
+my $parser     = RDF::Trine::Parser->new( 'turtle' );
+$parser->parse_into_model( 'http://example.org/', '</foo> a </Bar> .', $model 
);
+
+use RDF::RDFa::Generator;
+
+{
+       ok(my $document = RDF::RDFa::Generator->new->create_document($model), 
'Assignment OK');
+       isa_ok($document, 'XML::LibXML::Document');
+       my $string = $document->toString;
+
+       unlike($string, 
qr|xmlns:http://www.w3.org/1999/02/22-rdf-syntax-ns#="rdf";|, 'RDF namespace 
shouldnt be reversed');
+       like($string, 
qr|xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";|, 'Correct RDF 
namespace declaration');
+}
+
+done_testing();
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/librdf-rdfa-generator-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to