xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27450] - Validating against schemas importing other schemas
Date Thu, 04 Mar 2004 19:23:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27450>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27450

Validating against schemas importing other schemas





------- Additional Comments From fp@mc.com  2004-03-04 19:23 -------
I just tried Khaled's EntityResolver suggestion. To resolve the
schema for the B namespace, the EntityResolver is called with null
parameters for publicId and systemId, unless I again add the
schemaLocation attribute to the import statement.

So in order to make this work, I would have to invent artificial
schemaLocation URLs (which are supposed to be resolvable), and
then intercept them in the entityResolver. In other words, the
schemas would be invalid (due to the inaccessible-by-design
locations) unless parsed by my own parser. That doesn't sound
right.

This is a workaround, but no more.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Mime
View raw message