[oXygen-user] Using XML Catalogs to resolve location of CSS files
Radu Coravu
radu_coravu at sync.ro
Mon Aug 6 03:37:01 CDT 2012
Hi Mark,
Indeed as George said, CSS references in the XML are not resolved
through XML Catalogs (and we can make an improvement on this).
But I just wanted to be clear about one remark you made:
> But if it can't find it on the web, it won't load
> a local copy even though the URL is mapped to the local file system in
> the catalog.
This is not the way in which an XML catalog works, if you set an XML
catalog to resolve the referenced CSS URL to a local resource that local
CSS resource will be the one which will be always used, there is no
fallback which first tries to determine if a resource exists and then
passes through the XML catalog to see if there is an existing local one.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 8/1/2012 3:23 AM, Mark Baker wrote:
> I guess this is an enhancement request, since I can't seem to get it to
> work. I want to be able to specify the location of a CSS stylesheet
> using a URL, and then have it resolved to a local copy using an XML
> catalog.
>
> If I actually make the stylesheet available at the specified URL, Oxygen
> will find and use it. But if it can't find it on the web, it won't load
> a local copy even though the URL is mapped to the local file system in
> the catalog. I'm using an existing catalog with system and URI rewriting
> rules that work fine for loading schemas, and I have verified that the
> paths are all correct, so I'm assuming the Oxygen does not currently
> support resolving a CSS URL via a catalog.
>
> This would be a very useful feature for me, at least. Any chance of it
> making it into future editions?
>
> Thanks,
>
> Mark
>
More information about the oXygen-user
mailing list