Re: [xbiblio-devel] schema error in nxml mode

2016-09-26 Thread Sebastian Karcher
yes, downloaded from github.

On Mon, Sep 26, 2016 at 10:17 PM, Bruce D'Arcus  wrote:

> Hmm ... interesting. Which version? Master?
>
> On Sep 26, 2016 9:50 PM, "Sebastian Karcher" 
> wrote:
>
>> FWIW I'm using the schema in nxml mode all the time without issues.
>>
>> On Mon, Sep 26, 2016 at 9:49 PM, Bruce D'Arcus  wrote:
>>
>>> I ended up just combining the schemas into a single file, using trang
>>> and jing. It's here if anyone could use it.
>>>
>>> https://gist.github.com/bdarcus/b196aaff7133de337c70636e0f98ed78
>>>
>>> On Mon, Sep 26, 2016 at 11:51 AM, Bruce D'Arcus 
>>> wrote:
>>> > Actually, it's flagging the csl.terms.rnc file as the problem.
>>> >
>>> > Not really sure why, since I'm specifying to validate against rnc.csl,
>>> > and that includes this file.
>>> >
>>> > On Mon, Sep 26, 2016 at 11:17 AM, Bruce D'Arcus 
>>> wrote:
>>> >> ... or maybe not error, but warning.
>>> >>
>>> >> On Mon, Sep 26, 2016 at 11:07 AM, Bruce D'Arcus 
>>> wrote:
>>> >>> I'm getting an error about an undefined pattern variable.names when
>>> >>> trying to use the csl schema in nxml mode.
>>> >>>
>>> >>> I'm not exactly sure why, unless it's because the pattern is
>>> >>> referenced in the file before it's actually defined.
>>> >>>
>>> >>> Any ideas?
>>> >>>
>>> >>> I would test this further with the java tools, but my java isn't
>>> setup
>>> >>> correctly.
>>> >>>
>>> >>> Bruce
>>>
>>> 
>>> --
>>> ___
>>> xbiblio-devel mailing list
>>> xbiblio-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>>>
>>
>>
>>
>> --
>> Sebastian Karcher, PhD
>> www.sebastiankarcher.com
>>
>> 
>> --
>>
>> ___
>> xbiblio-devel mailing list
>> xbiblio-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>>
>>
> 
> --
>
> ___
> xbiblio-devel mailing list
> xbiblio-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>
>


-- 
Sebastian Karcher, PhD
www.sebastiankarcher.com
--
___
xbiblio-devel mailing list
xbiblio-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel


Re: [xbiblio-devel] schema error in nxml mode

2016-09-26 Thread Sebastian Karcher
FWIW I'm using the schema in nxml mode all the time without issues.

On Mon, Sep 26, 2016 at 9:49 PM, Bruce D'Arcus  wrote:

> I ended up just combining the schemas into a single file, using trang
> and jing. It's here if anyone could use it.
>
> https://gist.github.com/bdarcus/b196aaff7133de337c70636e0f98ed78
>
> On Mon, Sep 26, 2016 at 11:51 AM, Bruce D'Arcus  wrote:
> > Actually, it's flagging the csl.terms.rnc file as the problem.
> >
> > Not really sure why, since I'm specifying to validate against rnc.csl,
> > and that includes this file.
> >
> > On Mon, Sep 26, 2016 at 11:17 AM, Bruce D'Arcus 
> wrote:
> >> ... or maybe not error, but warning.
> >>
> >> On Mon, Sep 26, 2016 at 11:07 AM, Bruce D'Arcus 
> wrote:
> >>> I'm getting an error about an undefined pattern variable.names when
> >>> trying to use the csl schema in nxml mode.
> >>>
> >>> I'm not exactly sure why, unless it's because the pattern is
> >>> referenced in the file before it's actually defined.
> >>>
> >>> Any ideas?
> >>>
> >>> I would test this further with the java tools, but my java isn't setup
> >>> correctly.
> >>>
> >>> Bruce
>
> 
> --
> ___
> xbiblio-devel mailing list
> xbiblio-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>



-- 
Sebastian Karcher, PhD
www.sebastiankarcher.com
--
___
xbiblio-devel mailing list
xbiblio-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel


[xbiblio-devel] Proposed change to CSL input XML

2016-09-26 Thread Thomas O'Reilly
Sebastian seems to have a solid grasp on the issues. I also often share his 
frustration with legal citations. Just so that everyone in the conversation 
knows what the deal is about legal citations, I have included some background.

Legal decisions are published in serial publications called "reporters". In the 
U.S. there are two main commercial reporters - LexisNexis and Westlaw - and a 
smattering of government reporters for various courts. The commercial reporters 
are objectively better. They are comprehensive, and they are heavily annotated; 
everyone I ever met in the profession uses either LexisNexis or Westlaw. 
However, reporters are expensive, and they consume a lot of space in an office, 
so law offices usually subscribe to either Lexis or Westlaw, but not both. 
Parallel citations were designed so that legal readers could benefit from 
reading a document, even if they had a different reporter than the one 
preferred by the writer. The practical importance of parallel citations is 
diminishing as the legal world moves into the digital environment, but parallel 
citations are still a requirement in many jurisdictions and journals.


What would my proposal look like in an actual CSL style? I am not an expert in 
CSL, but I'll give it my best shot. The most important use case for a "serials" 
variable is for parallel citations. I will show how an existing CSL style could 
be modified to add support for parallel citations.

My example is taken from "bluebook.csl". The excerpt below shows the styling 
instructions for creating the long form citation for legal opinions.

Bluebook.csl

  



  
  
  



  
  



  

  


My proposed modification would be to allow CSL styles to encapsulate essential 
information about a serial publication within a  element. The 
 block would have one or more  children which contained the 
text variables.

Modified-Bluebook.csl

  



   





  
   


  
  



  

  


There are two things that I want to point out about the modified-bluebook.csl. 
One, parallel citations are separated by commas, so the  element has a 
delimiter attribute.

Two, the "locator" text variable has to be inside the  element - which 
is something I did not consider in my first post. Each parallel citation has to 
have its own "pincite" or "locator".

A citation rendered with the modified-bluebook styling would appear as follows.

"Czapinski v. St. Francis Hosp., Inc., 2000 WI 80, 86, 236 Wis. 2d 316, 319, 
613 N.W.2d 120, 122. (Wis. 2000)"

In closing:

I recognize that CSL should not adopt any changes that are not supported by the 
major stakeholders. However, I am very interested in your feedback on the 
technical merits of the proposal.

- Tom O'Reilly
--
___
xbiblio-devel mailing list
xbiblio-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel


Re: [xbiblio-devel] schema error in nxml mode

2016-09-26 Thread Bruce D'Arcus
Actually, it's flagging the csl.terms.rnc file as the problem.

Not really sure why, since I'm specifying to validate against rnc.csl,
and that includes this file.

On Mon, Sep 26, 2016 at 11:17 AM, Bruce D'Arcus  wrote:
> ... or maybe not error, but warning.
>
> On Mon, Sep 26, 2016 at 11:07 AM, Bruce D'Arcus  wrote:
>> I'm getting an error about an undefined pattern variable.names when
>> trying to use the csl schema in nxml mode.
>>
>> I'm not exactly sure why, unless it's because the pattern is
>> referenced in the file before it's actually defined.
>>
>> Any ideas?
>>
>> I would test this further with the java tools, but my java isn't setup
>> correctly.
>>
>> Bruce

--
___
xbiblio-devel mailing list
xbiblio-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel


[xbiblio-devel] schema error in nxml mode

2016-09-26 Thread Bruce D'Arcus
I'm getting an error about an undefined pattern variable.names when
trying to use the csl schema in nxml mode.

I'm not exactly sure why, unless it's because the pattern is
referenced in the file before it's actually defined.

Any ideas?

I would test this further with the java tools, but my java isn't setup
correctly.

Bruce

--
___
xbiblio-devel mailing list
xbiblio-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel