Handling of source documents
A number of interfaces now recognize the "data" URI scheme, defined in RFC 2397. This allows the actual content of a resource to be contained directly in the URI, using either %HH or base64 encoding.
Specifically, "data" URIs are recognized:
- By the StandardURIResolver, allowing them to be used by the doc()anddocument()functions (as well as other less useful places, likexsl:includeandxsl:import)
- By the StandardUnparsedTextResolver, allowing use inunparsed-text()andunparsed-text-lines()
- In a collection catalog, allowing use in the collection()function.
Applications using user-written URI resolvers or collection finders can take advantage of the same features by reference to the class
        DataURIScheme, which converts a Base64 "data" URI into a BinaryResource, and any other "data" URI into an
        UnparsedTextResource.