Hi All, My questions haven't been answered lately :). I suspect it's because they're a bit difficult, and people don't have much time. Anyhow, I hope this time I'll have more luck. Here they are:
1. Can passive grammar caching work when the external-schema-location property is set? If yes, what happens when this property is set again to a different value? 2. Should the grammar pool be registered directly with the grammar loader or it suffices to register it with the parser (throught JAXP DocumentBuilderFactory interface)? 3. If external-schema-location property is set and the parser encounters elements from namespace for which there is no schema location defined, will the parser fall back to the schemaLocation attribute in the document or something else? In other words, does the use of external-schema-location preclude retrieving schemas from other not pre-defined locations? The reason why I am asking some of these questions is that I am getting weird behaviour with Xerces. First, it seemed that passive grammar caching worked fine with external schema locations cause it complained about missing schemas or invalid content (when there was really reason to complain). However, after I ensured that no schemas were missing, all XML documents became valid even when I intentionally made them invalid. Since the code involved in this is too complex to post here, I am posting these questions. Cheers, Alex --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
