I have an .xsd schema in SVN and it's copy in %VsInstallDir%\xml\Schemas.
Schema folders in Web Developer settings include only %VsInstallDir%\xml\Schemas.开发者_高级运维 Option "automatically download schemas and DTDs" is disabled.Problem: When I edit copy of .xsd from SVN, Web Developer automatically starts to use it and immediately clutters error log with conflict warnings (The global element 'NAMESPACE:value' has already been declared).
I can disable usage of xsd from SVN in the schema management window (XML -> Schemas...), but if i load another XML with relevant namespace in Web Developer, that schema becomes enabled again. And conflict warnings appear again...Question: Is there any way to permanently prohibit Web Developer to load shemas from selected path? I've tried to look into catalog.xml, but apparently it allows only to add path, not to disable it.
Solved my problem this way:
- Removed scheme from %VsInstallDir%\xml\Schemas
- Added path to copy of schema from SVN to catalog.xml
I know, it seems obvious, but I didn't realize this solution for quite a time :)
精彩评论