All,

I wondered if there was any way that I can ask a Marshaller after I have
marshalled an XML Document into Java classes generated by the
sourceGenerator if there remain any 'unresolved' IDREF's? These can lead to
NPE's if someone traverses the relationship to the Object with the ID where
the match up hasn't occurred (and they haven't written very defensive code)

I have played with the IDResolver, but since the docs are not guaranteed to
be parsed in any order the output it gives does not suffice. The resolve
method is called, but the UnmarshallerHandler#idresolver also has a local
bind() method which is not in the interface. AFAIK its impossible to tell if
the ID was found Later and resolved correctly

Have I missed something [(usually the case:-)] or should I look at raising a
'feature bugzilla' and implementing the code

Thanks

J

BTW: Happy New Year All



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to