diff options
author | vbaciu | 2007-04-18 14:51:40 +0000 |
---|---|---|
committer | vbaciu | 2007-04-18 14:51:40 +0000 |
commit | 40aa963ea5b82ddd9603e4c8fdf675d2069b06ad (patch) | |
tree | 70e82e383a4b09d07f3109237b51bfe9eca6d39b /bundles/org.eclipse.wst.html.core/src | |
parent | 39f01d53fa368892c331284fe88ff843a8cd0fb9 (diff) | |
download | webtools.sourceediting-40aa963ea5b82ddd9603e4c8fdf675d2069b06ad.tar.gz webtools.sourceediting-40aa963ea5b82ddd9603e4c8fdf675d2069b06ad.tar.xz webtools.sourceediting-40aa963ea5b82ddd9603e4c8fdf675d2069b06ad.zip |
[136399] XMLCatalogIdResolver does too much work
Diffstat (limited to 'bundles/org.eclipse.wst.html.core/src')
-rw-r--r-- | bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/modelquery/XHTMLAssociationProvider.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/modelquery/XHTMLAssociationProvider.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/modelquery/XHTMLAssociationProvider.java index 32ca76d609..82de2cb03a 100644 --- a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/modelquery/XHTMLAssociationProvider.java +++ b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/modelquery/XHTMLAssociationProvider.java @@ -13,6 +13,7 @@ package org.eclipse.wst.html.core.internal.modelquery; import org.eclipse.wst.common.uriresolver.internal.provisional.URIResolver; import org.eclipse.wst.xml.core.internal.contentmodel.CMDocument; +import org.eclipse.wst.xml.core.internal.contentmodel.modelquery.CMDocumentManager; import org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.XMLAssociationProvider; import org.eclipse.wst.xml.core.internal.contentmodel.util.CMDocumentCache; import org.w3c.dom.Document; @@ -39,6 +40,14 @@ class XHTMLAssociationProvider extends XMLAssociationProvider { public XHTMLAssociationProvider(CMDocumentCache cache, URIResolver idResolver) { super(cache); this.idResolver = idResolver; + + // See https://bugs.eclipse.org/bugs/show_bug.cgi?id=136399. If the CM document URI + // is resolved and cached at this level instruct the CM model manager to avoid + // re-resolving the URI. + + if (USE_QUICK_CACHE) { + documentManager.setPropertyEnabled(CMDocumentManager.PROPERTY_PERFORM_URI_RESOLUTION, false); + } } /** |