WebStorm cannot merge XSD target namespaces?I'm developing XSLT transformations with WebStorm and find this tool pretty amazing. It handles mos of my schemas well but when multiple XSDs use the same target namespace, then autocomplete and validation stops

Hi!

I'm developing XSLT transformations with WebStorm and find this tool pretty amazing. It handles mos of my schemas well but when multiple XSDs use the same target namespace, then autocomplete and validation stops working for the sections that use elements from these schemas. Running and debugging the transformations still works perfectly.

Theoretically in such case the TNs should be merged. Is there a restriction that XSDs must use different target namespaces?

Thanks in advance

4 comments

Could you attach a sample file here?

0

You can download a good example from here http://www.gs1.org/docs/gsmp/xml/3_0/BMS_Package_Transport_Instruction_And_Response_r3p0p0_i1p1p0_8Nov2011.zip

Look up the Schemas/sbdh/ folder. All the XSDs there use the same TNS. If you try to edit one of the instance XML files in the package, everything is going to work fine, except the StandardBusinessDocumentHeader element and everything below it.

0

Any news about this issue? I've faced with similar situation in IntelliJ IDEA.

0

if it's still an issue for you, please create a request in https://youtrack.jetbrains.com/issues/IDEA, providing xml and xsd files that can be used to recreate the bug

0

Please sign in to leave a comment.