This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Validation of context.xml results in cryptic message: XML validation started. Checking file:/C:/MyWebApp/HelloWeb/web/META-INF/context.xml... cvc-elt.1: Cannot find the declaration of element 'Context'. [1] XML validation finished. Because context.xml has no DTD or Schema, validation should be disabled or the message should be clearer.
It is message from validator which try to say: there is no DTD or Schema for this document (root element). IMHO the action should be disabled because a DTD or Schema for context.xml doesn't exist.
There is no option in jeeserver to enable/disable the XML validation for the ConfigDataObject. The XML validation is always enabled in ConfigDO. The message comes from XML parser. Actually I don't know what to do with the bug. However, I don't think it is critical. It is the same for all XML documents where DTD or schema is missing.
So, if this means the message can't be changed and if this means XML validation can't be disabled, there doesn't seem to be any solution and the issue should be closed?
Milan, should this issue be closed?
I think so. Actually, there is no solution for this issue.
No solution for this issue.