tillgrallert / lossless-sente-export

Community-developed remedies for dealing with the abandonment of Sente by its developers
Other
7 stars 0 forks source link

Error compiling… #2

Open odelaroziere opened 5 years ago

odelaroziere commented 5 years ago

Hi Till,

Thank you for all this work!

I have been a user of Sente for 8 years and I totally disappointed by the disappearance of Sente in the cyberspace… Now I am trying to import my 2500 Sente references in Mendeley. I tried your workflow: 1,2,3,4… But it failed at point 5 I used the Mac Os X command xsltproc to compile my files:

olivier$ xsltproc -o compiled.TSS.xml tss_generate-xml-from-sql.xsl Reference.xml

but get an error message:

tssgenerate-xml-from-sql.xsl:94: validity error : xml:id : attribute value {concat('uuid',$p_reference-uuid)} is not an NCName

I tried with your test files (xml/sqlite_xml-export/Test) and got the same message.

Am I doing something wrong? I am quite a newbie in xslt…

Olivier

tillgrallert commented 5 years ago

Hi Olivier,

I feel your pain. I still think that Sente was the best available reference editor within the Apple ecosystem. The integration of a reading and annotating interface across devices and platforms was saving me a tremendous amount of effort and work. Alas, it is gone.

Concerning your query, the issue is that xsltproc cannot process XSLT 2. In order to avoid running into this error download Saxon-HE (link in the workflow) and then use the commend provided in step 5 of the workflow.

All the best,

Till

odelaroziere commented 5 years ago

Hi Till, Thank you for your encouraging response! I will try to find the time to do the step 5 of your workflow… We keep in touch. Best,

Olivier