A local file input source requires a path to the file to load.
This can be provided either as a fully qualified path, a path relative to the current working directly, or a path relative to a provided base path.
The completed path will become the system id of this input source. The constructors don't take any public id for local files, but you still set them via the parent class' setPublicId() method of course.
This constructor takes an explicit base path and a possibly relative path. If the relative path is seen to be fully qualified, it is used as is. Otherwise, it is made relative to the passed base path.
- Parameters:
-
| basePath | The base path from which the passed relative path will be based, if the relative part is indeed relative. |
| relativePath | The relative part of the path. It can actually be fully qualified, in which case it is taken as is. |
| manager | Pointer to the memory manager to be used to allocate objects. |
- Exceptions:
-
| XMLException | If the path is relative and doesn't properly resolve to a file. |