Chris, You should add your downloaded DTD to the external resources configuration (Tools | IDEA Options | External Resources).
Best regards, Mike Aizatsky. ------------------------------ IntelliJ Software, "Develop with pleasure!" http://www.intellij.com > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On > Behalf Of Bartley, Chris > Sent: Thursday, February 07, 2002 11:29 PM > To: '[EMAIL PROTECTED]' > Subject: [Eap-list] #602: Validation of XML (specifically XHTML) > > First, are there plans to support XHTML (validation, completion, etc.)? > Files that have one of the recognized HTML file type extensions (.html, > .htm, etc) would need to be recognized as XML if it begins with an XML-ish > prologue. > > In the meantime, i thought i'd give it a try by trying to "fool" IDEA by > naming my html file with a ".xml" extension, say "index.xml". I then > started out with the standard prologue: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1- > transitional.dtd"> > > IDEA is apparently not fetching the DTD from w3.org, so i downloaded it > myself hoping that if i put it in [idea_home]/config/j2ee that validation > and completion would magically work. They don't. > > So, my question is, how do we go about getting IDEA to recognize and use a > DTD? Do we have to have a local copy of it, and, if so, where should it > go? > > Thanks. > > chris > > _______________________________________________ > 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
