XML Schema includes
Hello,
We have a huge schema organized in multiple files with common
definitions in one file, elements in another, and so forth, and there are
some top level schema files that creates the XML documents.
The schema files are declared in XML using URLS
(http://www.my.com/xml_schema/component.xsd) in the xml file, those URLs are
resolved in the application to local paths, the include statements use
relative paths schemaLocation="part.xsd"
When I start editing an XML file that declares this top level schema,
the auto-complete doesn't show elements from the inner schema files. it only
shows them if they are
I have created a mapping in Resources section for the URL, and for all
other URLs but Idea couldn't resolve the includes.
I would like to add a mapping to (http://www.my.com/xml_schema/) in the
Resources section, and everything to be linked correctly.
Am I missing something, any help appreciated.
Thank you all for your time.
--
Best Regards,
Mamado.
Please sign in to leave a comment.
Hi Mamado!
Mamado wrote:
As a meter of fact we do not support full XSD. It's a big piece of work
to support this heavy standard, but we support its part to provide
completion features and basic highlighting. Includes were not in this
supported part but if this annoys you please file a request and if there
will be enough votes we'll implement this feature.
Thanks,
IK
--
Igor Kuralenok
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
+10
This would get my vote.
Intended or not, the IntelliJ guys have created an excellent XML editing tool. It's not a full-featured tool like XMLSpy, but for those of us who want a really smart XML editor, IDEA is a great option (most of the time - EAP's have been flaky with XML for a while now...).
If the original poster doesn't get a chance to post the feature request, then I will try and find a minute to do it myself!
- Tim
Thank you very much, Defect filed #20316
http://www.intellij.net/tracker/idea/quickSearch?searchText=20316
--
Best Regards,
Mamado.