[ http://nagoya.apache.org/jira/browse/XERCESJ-1035?page=comments#action_56816 ] Martin Kendall commented on XERCESJ-1035: -----------------------------------------
Very sorry but just spotted the reason why this was not working: The schema with the import was not being referenced correctly. Please close this is it is NOT a bug. Thanks > v 2.6.2 resolving component in imported namespace > ------------------------------------------------- > > Key: XERCESJ-1035 > URL: http://nagoya.apache.org/jira/browse/XERCESJ-1035 > Project: Xerces2-J > Type: Bug > Components: XML Schema Structures > Versions: 2.6.2 > Environment: Windows XP > Reporter: Martin Kendall > > I have checked existing reports on this issue but have had to report it as it > is slightly different in that > I am importing the namespace needed but I still get: > --- > src-resolve.4.2: Error resolving component 'xx:yourType'. > It was detected that 'xx:yourType' is in namespace > 'http://other/namespaceURI', > but components from this namespace are not referenceable from schema document > 'http://server/yourSchema.xsd'. If this is the incorrect namespace, perhaps > the prefix of 'xx:yourType' needs to be changed. If this is the correct > namespace, then an appropriate 'import' tag should be added to > 'http://server/yourSchema.xsd'. > --- > yourSchema.xsd does indeed have: > <xs:import namespace="http://other/namespaceURI" > schemaLocation="otherSchema.xsd"/> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
