Skip to content

CSL name moved from attribute on <element> and <attribute> to new child node #4

@jayvdb

Description

@jayvdb

When I do a diff between trang and rnc2rng results for https://github.com/citation-style-language/schema/blob/master/csl.rnc (i.e. this is a continuation of #1), the only difference is name is being moved from an attribute to a child node 'name'.

@@ -42,9 +42,11 @@
       </choice>
     </start>
     <define name="independent-style.style">
-      <element name="cs:style">
-        <attribute name="class">
+      <element>
+        <name ns="http://purl.org/net/xbiblio/csl">style</name>
+        <attribute>
           <a:documentation>Select whether citations appear in-text or as notes.</a:documentation>
+          <name ns="">class</name>
           <choice>
             <value>in-text</value>
             <value>note</value>

That type of change occurs hundreds of times in the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions