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/08 03:23:30 UTC

[Bug 55212] New: Jasper does not validate XSD-based configuration files

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

            Bug ID: 55212
           Summary: Jasper does not validate XSD-based configuration files
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Mac OS X 10.4
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: jboynes@apache.org

There are comments in ParserUtils and o.a.j.Constants about XSD parsing and for
the need to add cached copies of the 2.4 and later XSDs but the functionality
does  not seem to be there.

-- 
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 55212] Jasper does not validate XSD-based configuration files

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

--- Comment #1 from Jeremy Boynes <jb...@apache.org> ---
As part of the fix for 55246, the TLD scan process now loads TLDs using
Digester which can perform DTD and XSD validation. This will be enabled if the
ServletContext initParam "org.apache.jasper.validateDescriptors" is set to
"true"

TLDs loaded directly from paths specified in a taglib directive still use the
old mechanism

-- 
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 55212] Jasper does not validate XSD-based configuration files

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

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

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

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
The final part of this was fixed as part of the work to cache the results of
parsing TLDs rather than re-parsing them for every tag.

-- 
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