Set the base URL of the source. If the systemID is not set in the Source object, try and use the URL of the stylesheet. If that is null also, use the user.dir property. Part of the fop codegen fix.