blunalucero / MODS-RDF

MODS RDF is an RDF ontology for MODS. As MODS is an XML schema for a bibliographic element set, MODS RDF is an expression of that element set in RDF.
7 stars 4 forks source link

[xsl] Stylesheet broken #29

Closed davide-romanini closed 9 years ago

davide-romanini commented 9 years ago

Trying to use the xsl with saxon gives:

Error on line 11 column 31 of MODS_RDF_Stylesheet.xsl: SXXP0003: Error reported by XML parser: The prefix "xsl" for element "xsl:stylesheet" is not bound. org.xml.sax.SAXParseException: The prefix "xsl" for element "xsl:stylesheet" is not bound.

The xsl linked at http://www.loc.gov/standards/mods/modsrdf/xsl-files/modsrdf.xsl seems a bit different from the one on this repository.

cmharlow commented 9 years ago

Hi! thanks for bringing this up.

We lost the namespace declarations somewhere in the shuffle; they've been added back. The XSLT works for me now, but let me know if it works for you too before I close the issue.

davide-romanini commented 9 years ago

Now it works. There are other small issues with namespaces for specific elements, but you can close this one.

cmharlow commented 9 years ago

Thanks Davide. I'm aware of some other issues in that stylesheet, but my attention is primarily on trying to finish the first draft of stylesheet based on the updates to MODS RDF discussed in this repos' other issues.

However, I don't want it to limit use of this stylesheet in the present. I appreciate your patches, and I'll try to spend some time tidying things up in this stylesheet in the next week or so.

Thanks!