MariuszGlogowski / xml2rfc-xxe

Automatically exported from code.google.com/p/xml2rfc-xxe
0 stars 0 forks source link

check-ietf-references fails to find xsl/tr.rdf and other fixes #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Apply the following patch to xml2rfc_catalog.xml (dead links)

Index: xml2rfc_catalog.xml
===================================================================
--- xml2rfc_catalog.xml (wersja 272)
+++ xml2rfc_catalog.xml (kopia robocza)
@@ -10,8 +10,8 @@
               rewritePrefix="http://xml.resource.org/public/rfc/bibxml3/" />

   <rewriteURI uriStartString="xml2rfc-rfcindex:"
-              rewritePrefix="ftp://ftp.isi.edu/in-notes/" />
+              rewritePrefix="ftp://ftp.rfc-editor.org/in-notes/" />
   <rewriteURI uriStartString="xml2rfc-ietfidstatus:"
-              rewritePrefix="http://www.fenron.com/~fenner/ietf/" />
+              rewritePrefix="http://fenron.net/~fenner/ietf/" />

 </catalog>

2. Open XML document with an RFC
3. Run XML2RFC -> Check IETF references
.

What is the expected output? What do you see instead?

Copying document to "__doc.xml"
Copying ressources specified by "dtd/*.*" to "."
Copying file 
"file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/dtd/rfc2629-xhtml.ent" to 
"/var/tmp/xxe20057/rfc2629-xhtml.ent"
Copying file "file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/dtd/num.xml" to 
"/var/tmp/xxe20057/num.xml"
Copying file 
"file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/dtd/rfc2629-other.ent" to 
"/var/tmp/xxe20057/rfc2629-other.ent"
Copying file 
"file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/dtd/rfc2629.dtd" to 
"/var/tmp/xxe20057/rfc2629.dtd"
Copying file "file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/dtd/proc.xml" 
to "/var/tmp/xxe20057/proc.xml"
Transforming XML file "__doc.xml" to "__doc2.xml" using 
"xsl/expand-pi-rfc-include.xslt"
Compiling style sheet 
"file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/xsl/expand-pi-rfc-include.xsl
t"
Processing XML file "/var/tmp/xxe20057/__doc.xml"
Transforming XML file "__doc2.xml" to "reference-check.txt" using 
"xsl/check-ietf-references.xslt"
Compiling style sheet 
"file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/xsl/check-ietf-references.xsl
t"
Processing XML file "/var/tmp/xxe20057/__doc2.xml"
Warning: Failure reading 
file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/xsl/tr.rdf
Warning: Failure reading 
file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/xsl/tr.rdf
Warning: Failure reading 
file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/xsl/tr.rdf
Warning: Failure reading 
file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/xsl/tr.rdf
Warning: Failure reading 
file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/xsl/tr.rdf
Warning: Failure reading 
file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/xsl/tr.rdf
Warning: Failure reading 
file:/usr/local/lib/xxe-perso-4_6_1/addon/xml2rfc/xsl/tr.rdf
Executing shell command
"xterm -e "less reference-check.txt""
xterm: not found

(the last one is kind of ok, I could replace it with "urxvt" etc.)

What version of the product are you using? On what operating system?

0.7.8 on XXE Personal 4.6.1

Running FreeBSD radziecki.saper.info 9.0-CURRENT FreeBSD 9.0-CURRENT #1 
r212217M: Wed Sep 22 08:56:19 CEST 2010     
saper@radziecki.saper.info:/usr/obj/usr/src/sys/VAIO  amd64

Please provide any additional information below.

Original issue reported on code.google.com by marcin.c...@gmail.com on 24 Sep 2010 at 12:44

GoogleCodeExporter commented 8 years ago
I have just checked in a new version that should address these issues -- can 
you please check if this is fixed and update to let us know?

W

Original comment by warren%kumari.net@gtempaccount.com on 4 May 2011 at 7:56