Method ResolveEntity
ResolveEntity(String, String)
Resolve an external entity.
Always return null, so that the parser will use the system identifier provided in the XML document. This method implements the SAX default behaviour: application writers can override it in a subclass to do special translations such as catalog lookups or URI redirection.
Declaration
public virtual InputSource ResolveEntity(string publicId, string systemId)
Parameters
Type | Name | Description |
---|---|---|
System.String | publicId | The public identifer, or null if none is available. |
System.String | systemId | The system identifier provided in the XML document. |
Returns
Type | Description |
---|---|
InputSource |
Implements
Remarks
The new input source, or null to require the default behaviour.
Exceptions
Type | Condition |
---|---|
SAXException | Any SAX exception, possibly wrapping another exception. |