Understand and agree. I would also like to see an official "dtd" file for the XML files. Lots of XML editors have "validation" commands that will make sure the XML conforms to the DTD spec which can help remove some xml related bugs that pop up (not well formed, missing tags, attribtutes). Also, for advanced XML tools like the ones included in Eclipse and NetBeans, the DTD can enable xml "Code Completion" which helps when trying to develop the XML in the first place. This helps the user use the correct tags and attributes for a given tag. It also would help explore the possible tags, versus diving in to the ParaView source code and skimming some of the XML files in there.

THanks for letting my "Hijack" the thread Dave..

_________________________________________________________
Mike Jackson                  [email protected]
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio

On Dec 3, 2009, at 11:38 AM, David Doria wrote:

Is there any tool available to "check" an xml file before loading it?
Often when I apply a plugin filter, Paraview simply crashes. It is
always due to an error in my xml file, but I have to go searching for
it manually. Could something be developed to do things like ensure
when you have command="SetUseAutoRadius" that SetUseAutoRadius()
actually exists in the filter? Currently when a plugin fails there is
a lot of guess work and manual hunting that would be nice to replace
by some kind of automatic parser/checker/tester.

Does anyone understand what I mean / agree?

Thanks,

David
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to