Hi,

We are having trouble getting XML validation to
work in Build #611. The same problem occurs in
previous builds, as well.

Here is our document type declaration:
<!DOCTYPE xmlayout SYSTEM "../../xmlayout.dtd">

At first, nothing worked. Then I added the
URI to the "External Resources" page, which 
allows the editor to highlight
invalid XML markup as errors. Thus, I'm assuming
that my project is properly configured.

But when I select "Validate", a dialog pops
up with "Internal Error Occurred". When I 
look at the console, I see a stack trace for
the following exception:

java.io.FileNotFoundException: 
  C:\java\idea611\..\xmlayout.dtd (The system 
  cannot find the file specified)

It appears as if the XML validation is
not looking at the External Resources setting.
Instead, it is searching relative to some
directory within the IDEA distribution.

Workaround:
If I change my URI to a physical path name instead
of a relative path, validation works.



=====
Eric M. Burke
Principal Software Engineer, Object Computing, Inc.
Author of O'Reilly's "Java and XSLT"
314-494-3185 (mobile)
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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

Reply via email to