You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/07/09 09:09:00 UTC

[Bug 55217] New: Common EntityResolver that can be used by Catalina and Jasper

https://issues.apache.org/bugzilla/show_bug.cgi?id=55217

            Bug ID: 55217
           Summary: Common EntityResolver that can be used by Catalina and
                    Jasper
           Product: Tomcat 8
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: jboynes@apache.org

Duplicate functionality exists in both SchemaResolver and
ParserUtils.MyEntityResolver. There's also a basic version in Digester.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55217] Common EntityResolver that can be used by Catalina and Jasper

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217

--- Comment #5 from Mark Thomas <ma...@apache.org> ---
Thanks. Applied.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55217] Common EntityResolver that can be used by Catalina and Jasper

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217

--- Comment #2 from Jeremy Boynes <jb...@apache.org> ---
I added the base Class as DigesterFactory and Jasper's MyEntityResolver may be
coming from different ClassLoaders which in an OSGI world may have a different
version of servlet-api.jar. I have trouble envisioning how that would work but
there are comments to that end in the Jasper code.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55217] Common EntityResolver that can be used by Catalina and Jasper

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Perfect. Many thanks. The patch has been applied to trunk and will be included
in 8.0.x.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55217] Common EntityResolver that can be used by Catalina and Jasper

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217

Jeremy Boynes <jb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55217] Common EntityResolver that can be used by Catalina and Jasper

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217

--- Comment #1 from Jeremy Boynes <jb...@apache.org> ---
Created attachment 30570
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30570&action=edit
Implementation of an EntityResolver2 that loads local resources

Also includes constants for well-known XML identifiers as documented in the
specs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55217] Common EntityResolver that can be used by Catalina and Jasper

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217

--- Comment #4 from Jeremy Boynes <jb...@apache.org> ---
Created attachment 30571
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30571&action=edit
Simpler DigesterFactory with base Class

With the base class added, the urlFor is not needed any more so this could now
be a little simpler.

The original also used DigesterFactory as the Class for loading resources
rather than Servlet.class.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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