While looking into a error report from Sebastian, I found that
citeproc-js was not coping gracefully with nested full-form cs:names
nodes.

While a cs:names node without children should inherit the labels from
the preceding superior cs:name node on its parent, a full-form node
should (I think) completely override all superior cs:label nodes.

I suspect that other CSL implementations are likely to have cleaner
internals than citeproc-js, and already behave in this way; but I
thought I would mention it because I was a little surprised to find
such a fundamental error in code that has been in service for so long.
Here is a test that covers the issue:

  
http://bitbucket.org/bdarcus/citeproc-test/src/ab136a6aa8f2/processor-tests/humans/substitute_SuppressOrdinaryVariable.txt

(If I'm wrong and other implementations are tripped up on these nested
structures, it might be worth mentioning the difference in behaviour
explicitly in the specification.)

Frank

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xbiblio-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

Reply via email to