Sigh. And I thought that there was an easy answer to this. Now I have to dig.... :) Alex
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 11, 2003 2:23 PM > To: [EMAIL PROTECTED] > Subject: Re: Providing a better message than "Premature end of file" > > > Could you provide more detailed information about how you got such error? > Sounds like a bug to me: unknown namespace should only lead to validation > errors (something like "no decl found for ..."), instead of a fatal error > like this. > > Thanks, > Sandy Gao > Software Developer, IBM Canada > (1-905) 413-3255 > [EMAIL PROTECTED] > > > > > > "Aleksandar > > Milanovic" To: > "Xerces-J-User" <[EMAIL PROTECTED]> > <[EMAIL PROTECTED] cc: > > sinc.com> Subject: > Providing a better message than "Premature end of file" > > > 02/11/2003 04:57 > > PM > > Please respond to > > xerces-j-user > > > > > > > > > Hi, > > When Xerces is configured with the external-schema-location, it complains > about "Premature end of file" if an unknown namespace is encountered upon > validation. I would like to provide a more descriptive error message. My > first guess is that I should use entity handlers, but it is not > clear to me > at what point they are called (before the external-schema-locations are > consulted or afterwards)? Also, how does lazy schema caching affect this > order? > > thx > Alex > > > --------------------------------------------------------------------- > 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] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
