Skip to content

ShexC Section 4.6.4, Example 55 says "zero or more schema:givenName" when it should be "one" #19

@dougli1sqrd

Description

@dougli1sqrd

In ShexC Section 4.6.4, Example 55 the text reads:

The following shape declares that nodes must have either one schema:name or a combination of zero or more schema:givenName and one schema:lastName.

But the example Shex given is:

:User {
  schema:name  xsd:string |
  ( schema:givenName  xsd:string + ;
    schema:familyName  xsd:string
  )
}

Using the + indicating one or more, not zero.

It looks like either the text should change to say "one", not zero, or the shape example should change to use the *.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions