Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Maxim Mossienko 
Subsystem
XML editing 
Affected versions
Fixed in
Fixed in build
Next build 
  • Submitted by   Brian Pontarelli
    3 years ago (15 Feb 2007 03:53)
  • Updated by   root
    6 months ago (17 Jan 2010 19:42)
  • Jira: IDEA-37100
    (history, comments)
IDEA-37100 XML schema import doesn't support unqualified elements
0
When referencing an XML schema that uses an import of another XML namespace, IDEA doesn't correctly handle the types from the import. The difference between this issue and other XML schema issues is that the imported XML schema uses unqualified elements. I'll attach the Savant example XSDs and the instance document that doesn't work. The strange part is that IDEA understands that what the elements should be, but complains that they are invalid.

Also, here is the W3C doc that covers this type of import where the element types are all unqualified:

http://www.w3.org/TR/xmlschema-0/#import

Issue was resolved
Comments (5)
 
History
 
Linked Issues (0)
 
Brian Pontarelli
  Brian Pontarelli
15 Feb 2007 03:54
(3 years ago)
This is the instance document.
Brian Pontarelli
  Brian Pontarelli
15 Feb 2007 03:55
(3 years ago)
This is the schema document that the instance references via its namespace (xmlns).
Brian Pontarelli
  Brian Pontarelli
15 Feb 2007 03:56
(3 years ago)
This is the base schema that is imported into the project.xsd and has elementsFormDefault as unqualified (the default).
Brian Pontarelli
  Brian Pontarelli
15 Feb 2007 19:01
(3 years ago)
Any chance for a back port to 6.0.5?
Brian Pontarelli
  Brian Pontarelli
15 Feb 2007 23:03
(3 years ago)
BTW, I just wanted to let you guys know how much you rock. I went ahead and posted on my blog about IntelliJ's awesome support.

http://brian.pontarelli.com/2007/02/15/why-intellij-will-always-win/

Thanks again for the fix.