Yes it is. If I remove the "if" tag, it is highlighted properly.

Joachim

----- Original Message -----
From: "Fredrik Lindgren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 6:36 PM
Subject: Re: [Eap-list] XML validation using DTD with ANY tag #616


> Is the var element declared in your DTD? If not, IDEA does the right
> thing. The ANY content model in xml means that any _declared_ elemnt is
> allowed.
>
> /Fredrik Lindgren
>
> Joachim Van der Auwera wrote:
>
> > When I view an XML document, all tags under a tag which can have "ANY"
as
> > children is marked as invalid (tagnama in red).
> >
> > For example, in the following XML
> >
> > <if key="uit:IncludeVerkoop" test="ne" value="true">
> >  <var name="klantnaam"><follow/></var>
> >  <var name="klantlev"/>
> >  <var name="klantronde"/>
> >  <var name="klant"><follow/></var>
> > </if>
> >
> > All the "var" tags are indicated in red. When I hover over the "var" it
says
> > "Element var is not allowed here". I have also included an excerpt from
the
> > DTD, indicatin that anything is allowed as child of the "if" tag.
> >
> > <!ELEMENT if ANY>
> > <!ATTLIST if
> >   key  NMTOKEN   #REQUIRED
> >   value CDATA     #REQUIRED
> >   test    (eq|ne)     "eq">
> >
> >
> > Hope this is enough to reproduce the problem.
> >
> > Joachim
> >
> >
> >
> > _______________________________________________
> > Eap-list mailing list
> > [EMAIL PROTECTED]
> > http://www.intellij.com/mailman/listinfo/eap-list
> >
> >
>
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
>
>


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

Reply via email to