SVN down?

Hi, mark and me have both been getting errors from SVN.
Trying to commit (validated) .csl styles I get
Commit blocked by pre-commit hook (exit code 1) with output:
fatal: file not found: /dbases/svn/zotero/hooks/csl/schema/csl-terms.rnc (no such file or directory) Please use Unix Newlines for CSL files
Edit: this is using Nautilus SVN.
  • Ah, well, this is due to the splitting of the trunk schema into multiple files, which the pre-commit scripts aren't downloading.

    We can have it download the other files, but, Rintze & Co., what's the current version that we should be validating against for styles in the repo?
  • The tagged release of the single-file schema is at:
    http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/tags/0.8/csl.rnc

    I wonder if we should encourage the styles to use tagged URIs to the schema & validate against whichever version the style asked to be validated against.
  • I've switched it to the tagged release—let me know if it doesn't work.
    I wonder if we should encourage the styles to use tagged URIs to the schema & validate against whichever version the style asked to be validated against.
    Since (as far as I know) we won't actually be backwards-compatible with 0.8, we can probably just validate against the currently supported version, though I guess it depends if we'll be backwards-compatible with 1.0 once future versions are released.
  • this fixed the first part of the error, but I still get the Unix Newline error - I didn't write the styles, so I'm not sure if there is something mark did with the csls that produces that error - but as I said they validate just fine.
  • edited August 27, 2009
    You need to use a text editor that lets you configure newlines. jEdit (any platform), TextWrangler (OS X)... On Unix you can also use flip -u file.csl from the command line.

    This is just something the SVN script validates for consistency—it's separate from the CSL validation.
  • thanks - flip did it for me.
  • We can have it download the other files, but, Rintze & Co., what's the current version that we should be validating against for styles in the repo?
    Version 0.8 of the CSL schema is indeed what Zotero currently supports. I think the only discrepancy is in the use of the 'plural'/'pluralize' attribute.
    Since (as far as I know) we won't actually be backwards-compatible with 0.8, we can probably just validate against the currently supported version, though I guess it depends if we'll be backwards-compatible with 1.0 once future versions are released.
    CSL 1.0 styles will carry the 'version' attribute on the 'style' element, with a value of "1.0", so that can be used to distinguish 1.0 styles from pre-1.0 styles. There are currently no plans to include a link to the schema (the CSL namespace URL just links to the project page).

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.