eclipse: validate xml with xsd -
does know if possible validate xml xsd while editing xml in eclipse?
this how xml begins:
<root xmlns:xi="http://www.w3.org/2001/xinclude" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:nonamespaceschemalocation="../definitions.xsd">
right click , validate. if not validated, eclipse cannot reach xsd file. definitions.xsd in parent directory of xml? can define xml catalog entries xsds. anyway, if fine, during saving should validate xml. validation come code completion of elements , attributes. both work or neither.
update:
picture make validate action more clear:
Comments
Post a Comment