XML Doc Validation Errors
Posted: Tue Jan 05, 2010 6:44 pm
I have an XML document that I edit in Oxygen used by ant. This is a valid XML document, but oXygen shows the following error in the editor and to the right in red for the following attribute:
<javac memoryInitialSize="256M" />
E [Xerces] Attribute "memoryInitialSize" must be declared for element type "javac".
I can avoid seeing this error by turning off the option Editor, Document Checking, Validate as you type. I would rather not turn this off though. Is there a way I can add this attribute to oXygen so that it is not flagged as an error?
Thanks.
<javac memoryInitialSize="256M" />
E [Xerces] Attribute "memoryInitialSize" must be declared for element type "javac".
I can avoid seeing this error by turning off the option Editor, Document Checking, Validate as you type. I would rather not turn this off though. Is there a way I can add this attribute to oXygen so that it is not flagged as an error?
Thanks.