Michael,

IDEA currently doesn't support inline DTD.

Best regards,
Mike Aizatsky.
------------------------------
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!" 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On
> Behalf Of Michael Kirby
> Sent: Tuesday, March 19, 2002 3:23 PM
> To: [EMAIL PROTECTED]
> Subject: [Eap-list] Help with XML
> 
> Perhaps I don't exactly understand the level of support that I am
supposed
> to get with intellij
> and XML.  Here are some things that I can't seem to get to work.  If
its
> not supposed to
> work, please let me know, and I will stop trying.  If it is, then I
> suppose the obvious question
> is what am I doing wrong.
> 
> 1) Validation of XML.  I'm able to validate the DTD, but not the XML
> against the XML.  I'm
> using the in-line notation, rather than referencing an external DTD.
For
> example:
> 
> <?xml version="1.0"?>
> 
> <!DOCTYPE foo [
> 
> <!ELEMENT foo (bar*)>
> <!ELEMENT bar EMPTY>
> <!ATTLIST bar barattr CDATA #REQUIRED
>           barattr2 CDATA #REQUIRED>
> ]>
> 
> <foo>
>     <bar barattr="x"/>
> </foo>
> 
> I would expect to get an error about barattr2 is required, but not
> present.
> 
> 2) I would expect that when I do a ctrl-space, or shift-ctrl-space,
that
> the set of tags specified
> in the DTD would be available in a list.
> 
> 3) I would expect that ctrl-p on an element would show me the
attributes
> definedin the DTD.
> 
> 4) I would expect that ctrl-b on an element would move the cursor to
the
> definition of the
> element in the DTD.
> 
> 5) I would expect that auto-formatting an xml-file would move it to a
> standard form, for
> example:
> 
> <foo> <bar barattr="x"/> </foo>
> 
> should become
> 
> <foo>
>     <bar barattr="x"/>
> </foo>
> 
> I don't know if I am being unreasonable, or if I just don't know how
to
> use the functionality.
> Assistance would be appreciated.
> 
> Thanks,
> Mike
> ---
> [EMAIL PROTECTED]
> To obtain my PGP public key, mail "SEND PUB KEY" in the
> subject to "[EMAIL PROTECTED]"
> 
> 
> _______________________________________________
> 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