users@jaxb.java.net

Class creation problem using schema

From: Mitesh51 <mit_bca1_at_yahoo.com>
Date: Wed, 17 Oct 2007 22:44:16 -0700 (PDT)

[ERROR] src-resolve.4.2: Error resolving component 'ver:DiscontinuanceCA'. It
wa
s detected that 'ver:DiscontinuanceCA' is in namespace
'http://www.dnb.com/IDP/C
ommon/Enumeration/SCoTS/LegalEventType/Vers1', but components from this
namespac
e are not referenceable from schema document
'file:/C:/DNBJaxb/DNBSchemas/DNBSch
ema2.xsd'. If this is the incorrect namespace, perhaps the prefix of
'ver:Discon
tinuanceCA' needs to be changed. If this is the correct namespace, then an
appro
priate 'import' tag should be added to
'file:/C:/DNBJaxb/DNBSchemas/DNBSchema2.x
sd'.

this error comes in each line of schema where ref attribute is used. i
cannot modify schema. the same schemas works for xmlbean so no probs in
schema.
-- 
View this message in context: http://www.nabble.com/Class-creation-problem-using-schema-tf4645092.html#a13268469
Sent from the java.net - jaxb users mailing list archive at Nabble.com.