Re: How to extract include and import from schema

2009-01-07 Thread Stanimir Stamenkov
Wed, 7 Jan 2009 11:00:05 +0530, /Krishna Gopal Binyala/: I am using xerces, framework for Schema parsing, i need to extract and from the schema and manipulate the schemaLocation from. I am XSModel for this, but not able to retrieve include and import from schema How it can be achieved. ?

Validating XML Using a XMLCatalogResolver Throws IOException in Java 1.5 But Not in Java 1.6

2009-01-07 Thread Jeff Sese
Hi, I'm trying to validate XML files via a DTD and using a catalog to resolve entities to a local copy of the DTD. The code is working in Java 1.6 but throws an IOException in Java 1.5 and via the stacktrace it seems that the code is trying to access the local DTD using the ftp protocol.