PhoenixmlDb.XQuery

PolicyXmlResolver

An for System.Xml readers and schema sets that fetches only what a allows: external entities, external DTD subsets, and xs:include/xs:import schema locations. file: resources are opened at the canonical path the policy authorised; HTTP fetches re-authorise every redirect.

#PolicyXmlResolver

Namespace: PhoenixmlDb.XQuery.Security

An

for System.Xml readers and schema sets that fetches only what a

allows: external entities, external DTD subsets, and

xs:include

/

xs:import

schema locations.

file:

resources are opened at the canonical path the policy authorised; HTTP fetches re-authorise every redirect.

#Constructors

##ctor(PhoenixmlDb.XQuery.Security.ResourcePolicy,PhoenixmlDb.XQuery.Security.ResourceAccessKind)

Creates a resolver checking every fetch against

for

(ReadDocument for entities and DTDs, ImportStylesheet for schemas).

##ctor(PhoenixmlDb.XQuery.Security.ResourcePolicy,PhoenixmlDb.XQuery.Security.ResourceAccessKind,PhoenixmlDb.XQuery.Security.ResourceCaller)

Creates a resolver for a load a module makes (

fn:parse-xml

of text with an external entity): the host's resolver is told who asks.

#Methods

#GetEntity(Uri,String,Type)

#ResolveUri(Uri,String)