Closed ndw closed 1 month ago
Indeed. I wonder if p:document should raise an error if the return code indicates the document was not retrieved.
It might be worth keeping the test, but pointing ot a document that does exist.
Actually, the semantics of p:document
defer to p:load
which says:
It is a dynamic error (err:XD0011) if the resource referenced by a p:load element does not exist or cannot be accessed.
I think this test should raise an error. But I also think the spec should be clearer about that.
Note on the original test: Resource "about.md" -> "about.html" was removed with https://github.com/xproc/xproc.org/pull/15 Since then github returned a html 404-page unnoticed.
Replaced by #738
Thank you @xml-project
If you
GET
a document, I think the base URI of the document you "got" is the final URI after any redirects have been applied. So I think the right answer here ishttp**s**://...