Skip attribute validation 2003-10-02 - By P L
Hello,
One of the elements in my XML file contains 4 attributes. I validate my XML file with a DTD.
Now a requirement has come to skip validiting one of the attributes. I tried to remove the attribute declaration from DTD but xerces complains "Attribute must be declared for element type ...". I tried if any of the features,properties available through DocumentBuilderFactory may fit but none of them allow skipping attribute validation.
Any ideas on how to skip attribute validation ?.
Thank you,
--------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search <DIV><FONT color=#000080 size=1> <P>Hello,</P> <P>One of the elements in my XML file contains 4 attributes. I validate my XML file with a DTD. </P> <P>Now a requirement has come to skip validiting one of the attributes. I tried to remove the attribute declaration from DTD but xerces complains "Attribute must be declared for element type ...". I tried if any of the features ,properties available through DocumentBuilderFactory may fit but none of them allow skipping attribute validation.</P> <P>Any ideas on how to skip attribute validation ?.</P> <P>Thank you,</P></FONT></DIV><p><hr SIZE=1> Do you Yahoo!?<br> <a href="http://shopping.yahoo.com/?__yltc=s%3A150000443%2Cd%3A22708228%2Cslk %3Atext%2Csec%3Amail">The New Yahoo! Shopping</a> - with improved product search
|
|