Skip to content

Structures which are actually sections that have children. #535

Open

Description

@krusynth

I'm not sure how to best handle this one, thought I'd see if @waldoj had any ideas. The more that I'm looking into how companies like American Legal store their codes, it doesn't appear that they make a differentiation between structural elements (aside from the top, grouping level) and all children. For instance, there's this in San Francisco, where Section 1 is the parent of the Subsections, but has it's own content and history:

http://www.amlegal.com/nxt/gateway.dll/California/business/article1permitprocedures?f=templates$fn=default.htm$3.0$vid=amlegal:sanfrancisco_ca$anc=JD_Article1

For now the best I can do is represent Sec 1 alongside 1.1, 1.2, etc, but that's less than ideal. It would probably take a significant rewrite to move into a model where everything is merely a node with properties.

Activity

  1. waldoj commented on Mar 19, 2014

    @waldoj
    Member

    I'm afraid that I just get a 500 error for that link. (Oh, American Legal.) Could you just give me a citation, so I can browse to it, since apparently their delightful URLs are session-based? Based on your description, I don't quite understand, but surely if I see it I'll get it.

  2. waldoj commented on Mar 19, 2014

    @waldoj
    Member

    So what's the problem with representing § 1 alongside § 1.1, § 1.2, etc., in the normal manner? Is it that § 1.1 lacks the context of being an implicit child of § 1, as in the all-sections-in-one layout used by AM Legal? If you look at a printed version of the code, is the relationship between §§ 1 and 1.1 represented any differently (in terms of layout, for instance) than the relationship between §§ 2 and 3? Is there any difference in the relationship between §§ 1 and 1.1 and §§ 8 and 8(a)?

  3. krusynth commented on Mar 19, 2014

    @krusynth
    MemberAuthor

    It's that § 1 is actually the parent of § 1.1 for most purposes, rather than a sibling. I've changed my strategery and have hacked metadata onto the Structure to hold that stuff, but in general the issue is the former one, that American Legal's data format just considers everything a Node, and so these shenanigans occur.

  4. waldoj commented on Mar 19, 2014

    @waldoj
    Member

    Well, there's American Legal's data format, there's American Legal's web-based representation of that data, and then there's how the data is actually represented within the text of the law. I encourage you to get your hands on a print copy of the San Francisco Municipal Codes and see how this information is supposed to be structured. Remember that, just about everywhere, the print version is the official version, and everything else is an afterthought!

  5. krusynth commented on Mar 19, 2014

    @krusynth
    MemberAuthor

    Man, I thought I was doing all this so I didn't have to pay for the print version. sigh I'll see if Alex G has a copy next time I'm in SF. ;)

  6. waldoj commented on Mar 19, 2014

    @waldoj
    Member

    :) I really have found that bad online representations of laws can create real confusion, confusion that can be resolved easily by looking at the print version. I hope that proves to be true here!

  7. waldoj commented on Aug 10, 2014

    @waldoj
    Member

    @krues8dr, have you found anything more about this?

  8. krusynth commented on Aug 10, 2014

    @krusynth
    MemberAuthor

    Nope, hacked it in and ignored it. I'll send an email to SF to ask.

  9. waldoj commented on Aug 10, 2014

    @waldoj
    Member

    👍 Thanks!

  10. added this to the Future milestone on May 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions