Skip to content

T357109 parsing improvements - #148

Open
addshore wants to merge 3 commits into
mainfrom
T357109-parsing-improvements
Open

addshore wants to merge 3 commits into
mainfrom
T357109-parsing-improvements

Conversation

@addshore

Copy link
Copy Markdown
Collaborator

This should probably be up streamed if merged (if upstream is maintained)

fix: recognize valid ShEx shape definitions
fix: resolve ShEx prefixes for local properties
Two things highlighted in https://phabricator.wikimedia.org/T357109

Allow whitespace between a shape label and `{`, as permitted by ShExC,
and handle EXTRA declarations with normal token spacing. Cradle
previously missed these valid schemas and omitted their property fields.

Bug: T357109
Use declared prefix mappings to recognize properties in the local
/prop/direct/ namespace, rather than requiring the literal wdt: prefix.

Bug: T357109
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant