Hi Daniel, The change resulting from this was to update the XSAnnotation that we store to record the column and line number as well as the systemid of where the annotation component was in the schema. There is not a feature to control this behaviour (it happens automatically). The basic error checking done on annotation elements is to look at the children, and if they aren't appinfo or document then generate an error and check the attributes on these elements.
If you want to validate the contents of the annotation there is a seperate feature: setValidateAnnotation (SAXParser) or http:://apache.org/xml/features/validate-annotations (SAX2Parser). With this feature each annotation is validated independently. Regards, David A. Cargill XML Parser Development IBM Toronto Lab (905) 413-2371, tie 969 [EMAIL PROTECTED] Daniel Graupner <[EMAIL PROTECTED] upner.de> To xerces-c-dev@xml.apache.org 02/28/2005 10:49 cc AM Subject Feature Question: "Improve Please respond to annotation error-reporting xerces-c-dev capabilities" Hello, I am using xerces in one of my projects for the first time and have a question. There is a feature on the list called "annotation error-reporting capabilities". In my mind this means that xerces generates error-messages from the annotation element where the error occured. Is this correct? Is there a switch to enable this? Regards, Daniel. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]