Skip to content

Unclear how to set original base URL in Context Processing #370

Closed
@kasei

Description

@kasei

(Related to #265, #356)

Context Processing Overview 4.1.1 says:

When an active context is initialized, the value of the original base URL is initialized from the original documentUrl of the document containing the initial context . This is necessary when resetting the active context by setting it to null to retain the original default base IRI .

What about when there is no documentUrl? Is it null, or is it the current base IRI? The documentUrl field is only relevant when the LoadDocumentCallback has been used.

This also impacts compact() step 3, and expand() step 4.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions