Hy,
we are (ab)using XML-Entities for importing xml-fragments into another
xml-file, to keep the xml-files manageable, so one file looks like
<?xml version='1.0' ?>
<!DOCTYPE something SYSTEM "something.dtd" [
<!ENTITY include SYSTEM "include.xml">
<!ENTITY anotherInclude SYSTEM "include2.xml">
]>
<something>
&include;
&anotherInclude;
</something>
I don't know if this is in any way A Good Thing(tm), but it validates and
helps a lot.
Now it would be great if idea was aware of this kind of hack. A first
step would be, that validation could tell in which file an error occured
(right now it only tells us an absolute line number (of the "pre-
processed" xml I assume)).
Another step (which would help more, but is probably much harder to
implement) would be, that Idea realized that the current file is beeing
included and used the entire document (i.e. the base document with all
included files, including the currently edited one) for syntax checking.
(Of course there would be trouble when one xml-file was included from
different locations with different DTDs/Schemas, but I'm sure the
JetBrain guys come up with some groovy solution ;-)
regards
Joachim Sauer
--
Hungarian Notation is the tactical nuclear weapon of source code
obfuscation techniques
- http://mindprod.com/unmainnaming.html
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features