Hello,

I wanted to try the new XML features and loaded my already pre-validated XML
documents. IDEA, after parsing, reports an error for each namespace
declaration (xmlns:xxx=), both in the schema and instance document. The
specs say that the URLs given in those parameters are just identifiers and
not desiged to be truly accessible, so there should not be an error flagged.

schema:
<xsd:schema targetNamespace="http://www.dynabeans.com/CRML";
xmlns:wcf="http://www.dynabeans.com/CRML";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; version="0.1">
...

instance document:
<registry
    xmlns="http://www.dynabeans.com/CRML";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://www.dynabeans.com/CRML
d:\windev\dynabean\webcomponents\src\schema\wcf-main-0010RC.xsd">
...

Validation against schema also does not seem to work - is that right? I get
errors flagged for non-wellformedness, but I can put in any non-valid junk..

BTW, I find that little light-bulb annoying (reminds me of the wizards in
Microsoft Word), but I havent found the switch to turn that off. I'd rather
have a more direct action hint (like Alt-Enter), which I can confirm or
dismiss with one key. I would hate if IDEA spent processing time on stuff
like that, as it is already getting slower (to visualize, pull your mouse
over the menu bar with an opened menu - huge difference against 2.5.2).

regards,
Christian Sell


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to