Re: DOM-Model with different root-tag names
Hello Peter,
>> I'm stuck here trying to allow different root-tag names on DomModel.
>> The DTD/model is exactly the same except for the DTD-URI/ID which is
>> mapped in
>> com.intellij.util.xml.DomFileDescription#registerNamespacePolicy for
>> my NamespaceKey.
>>
>> I override
>> com.intellij.util.xml.DomFileDescription#acceptsOtherRootTagNames
>> returning true and com.intellij.util.xml.DomFileDescription#isMyFile
>> returns true as expected - but I get no completion to work and also
>> my DomInspection only triggers on invalid attribute names, but not on
>> invalid values restricted by my DomModel.
>>
>> Any further steps required?
>>
>> Thanks,
>>
>> Yann
>>
A bug, certainly. Please try the upcoming EAP
Actually the EAP will be 7576, and the fix will go into 7577.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Please sign in to leave a comment.