Citation style validation error, help?

I keep getting this error when trying to validate a style I'm editing (using validator.nu):

Error: Unknown unnamespaced element style not allowed.
From line 1, column 1; to line 2, column 23
↩<style class="in-text">↩ <in

I've publicly uploaded it onto github if someone can check it out and give me a hand...
git://gist.github.com/1095495.git

Thanks!
  • The root style element requires several attributes that are currently missing. At minimum, it should be:

    <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
    ...
    </style>
  • And if you want to understand that, you probably should read a quick primer on xml namespaces. What rintze is telling you to do is add a default namespace declaration, which effectively says "all elements have this namespace."
  • See also http://citationstyles.org/downloads/specification.html#the-root-element-cs-style
Sign In or Register to comment.