Hi, Here is a problem I am having. I am using a binary build of xerces 2.8.0. and using sax.Counter to validate an xml instance. I am using the following command on the command line:
java sax.Counter -v -s -f -n -np ... The xml instance has a top level element: <aixm:Update xmlns="http://www.aixm.aero" xmlns:eur="http://www.aixm.aero/eur" xmlns:aixm="http://www.aixm.aero" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.aixm.aero/eur AIXM-ADR.xsd" gml:id="MSG0000002"> AIXM-ADR.xsd does not contain the Update element. However, it imports another schema: <import namespace="http://www.aixm.aero" schemaLocation="AIXM-GML-BasicMessageTypes.xsd"/> The Update element is in the secondary schema. When I validate the instance, XMLSpy reports the instance document as valid. However, sax.Counter reports: [Error]... cvc-elt.1: Cannot find the declaration of element aixm:Update ... I'll continue to investigate this myself. However, is this a known limitation with Xerces? Any help would be appreciated. Regards, Scott -- View this message in context: http://www.nabble.com/import-of-root-element-from-secondary-schema-tf2039564.html#a5612891 Sent from the Xerces - J - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
