dcsimg
XML Editing and Validation
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Daryl_Stultz
Posted On:   Tuesday, June 4, 2002 09:10 AM

How can I validate the structure of XML documents I am editing?


I understand that IDEA does some basic validation, i.e, placing the cursor at the end of a mismatched tag will change the background of the brackets to red.


What I want to do is hit a button (or better yet real time) and have the entire structure be validated. I am not concerned with DTD or Schema validation.


The ultimate would be to have the little red lines appear where the structure is not valid.


Thanks.

Re: XML Editing and Validation

Posted By:   Eugene_Belyaev  
Posted On:   Tuesday, June 4, 2002 06:39 PM

In IDEA 3.0 you may press Ctrl-Shift-F9 (Build | Compile File). It will launch Xerces' validation and display it's errors in the message pane.


Best regards,

Eugene Belyaev

About | Sitemap | Contact