Closed JDziurlaj closed 2 years ago
This would be useful to have future flexibility for externally hosted resources. What would a value of ExternalFile/FileName look like for external files embedded within the feed archive (alongside the XML file)? Would it need to include a file:// protocol (e.g. "file://shapefile.zip")?
I don't believe you'd need to use the file
scheme here unless you wanted to be extra explicit. See here.
That sounds good. I also think this makes sense since there's a strong precedent in the spec for using xs:anyUri to reference external resources.
WDYT about renaming FileName to FileUri and changing the type from xs:string to xs:anyUri? @afsmythe thoughts? If everyone agrees then we could make this change as part of 6.0.
SGTM!
Closing..
Consider the use of
xs:anyUri
so that other URI schemes could be used (e.g. http, ftp, etc.) to resolve external resources.