XMLCatalogResolver Schema with Include

2012-02-03 Thread Ramirez, Paul M (388J)
Hi All, I'm having an issue with XML catalogs and validating an XML file based on lookups with URI elements. I believe the issue is coming down to resolving the include from one of my namespace schema. It could be that I'm not setting something but I just can't seem to figure it out. I believe

Re: XMLCatalogResolver Schema with Include

2012-02-03 Thread Mark R Maxey
You might try reading this discussion on JAXP, XML Catalogs, and XSDs. I don't know that this will solve your problem, but it seems related ... Mark Maxey Raytheon, Garland 580/2/P22-1 (972)205-5760 mark_r_ma...@raytheon.com From: "Ramirez, Paul M (388J)" To: "j-users@xerces.apache.

Re: XMLCatalogResolver Schema with Include

2012-02-03 Thread Michael Glavassevich
You might also want to extend the XMLCatalogResolver and override its core resolveIdentifier() method. The base method won't make any distinction between your main schema document and the include and is probably always returning the URI entry from the catalog since the namespace is given higher pr