Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

When generating uri-ref data, use different logic that what is used for uri generation #30

Open
tedcasey opened this issue Apr 26, 2019 · 0 comments

Comments

@tedcasey
Copy link
Collaborator

Expected Behaviour

Nodes marked with uri-ref format should have data generated for them that more closely mirrors the intent behind the spec - i.e. fragments, relative urls, etc, as opposed to what's required for a uri (fully qualified uri).

Actual Behaviour

Nodes marked with uri-ref get fully qualified URIs generated for them.

Reproduce Scenario (including but not limited to)

Schemas with uri-ref nodes

Steps to Reproduce

Generate a Model object instance that consumes a schema with at least one node that has a uri-ref format indicated.

Note how the generated data is a fully-qualified uri.

Platform and Version

All

Sample Code that illustrates the problem

Logs taken while reproducing problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant