-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 1/23/14, 10:17 AM, Mark Thomas wrote:
> On 23/01/2014 15:11, Christopher Schultz wrote:
>> Mark,
> 
>> On 1/23/14, 7:54 AM, Mark Thomas wrote:
>>> On 23/01/2014 12:20, Paul Beckett wrote: <snip/>
> 
>>>> As this wasn't a problem in 7.0.47, do you know what's 
>>>> changed, and if this is something I can configure at the
>>>> Tomcat level without too much pain?
> 
>>> See my previous response.
> 
>>>> Also you mentioned the possibility of "include the 
>>>> spec-appropriate TLD Schema along with Tomcat", is this 
>>>> something I could configure easily?
> 
>>> Not sure what Chris was thinking on that one. Tomcat already 
>>> includes all the appropriate TLD schema.
> 
>> If that's true, then the Digester should be using the public 
>> namespace id of the schema and ignoring the (incomplete) URL 
>> provided by the XML document in order to locate the Schema in
>> the local catalog. (I inadvertently said "system id" in my
>> previous message, but I meant public namespace id... that is, 
>> "http://java.sun.com/xml/ns/j2ee";).
> 
>> Given the XML document in the original post, what is causing 
>> Tomcat /not/ to load that local XML Schema?
> 
> The way the new custom resolver is written. As per my original 
> response, we could look at better handling for this case. I'd need
> to go back to the archives and research if there is a reason for
> the current behaviour.

Okay. Having written a few custom resolvers for just this purpose, I
recall them being a total PITA to get right. With the standard XML
Schema, for instance, if you do it wrong, you get yourself a nice
10-second delay while you look-up w3.org and they punish you for
contacting them by delaying the response from the server. (That was a
good move by W3, though... it really motivates everyone to go and fix
their own code so it doesn't contact them ;)

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJS4TRLAAoJEBzwKT+lPKRYLyMP/1bNEqPO7to6Hrm60X83SZRY
4K/uZUReNe2bV/e5C8Mmiew0rL9JvIdaw1QV0YeghjhvES8WnN7otidpz8eXQ7Ze
oNE+hDEhUcrx3UUJX47h6TirONc1N40s7FCh/NUZ4Mq1YddhljqQhODemr4Ww8gH
N95SrieN8i/Ewdr0hG7OJQzwnjD3Kf9+RpOW+sMECQo0vHr8kuyDfj4KVIGlAW0w
ihbUgNbQ4q3x540oTfqPVJH417zBQ2ORcdh6TqjxKVn9upFvvweFyf3rtHHCUwJX
QccdhYjj0/lhNKp8Y0KMZa/rwjGVjXhwdSnFdQMX7MU7hle9SXXBy+0rgtQ3Y1GL
pkslluM5R5yls/nXbNwVMSFQ/zpMixfei7NLF6pW/XOyktiICogVoOZMpBmWakMI
R8EIUEii247thWkOs51GIESm83JE1p/HiN6AJXXAshhSB89z6cHWcKKmnsM7t4UQ
4Est7PZpOvuxXh8VXg4aueq/lnzWgmWp5Dl5xnzC2VpwWyWZjBQmD3CDkfjoBoO0
oMekFTcBZVjsnWa/8vvtlF1Ms5gCoCSDl4op5adD70I0U+2svYkB77CTeiZR6rOj
IV180khg7ujvbi6Lk3l4DuO9qdKJF57QiFSbp03TL7NFMd4h5H70sjfec9tEUclT
4X5zW47FeU0rFSrjGHv7
=aRTU
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to