You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you make it possible to add custom XML namespaces to the default NamespaceContext, used when working with XPath expressions in the XML Tag library.
This would make the processing of XML data with namespaces a lot easier.
The simplest solution would be a new public static method in org.apache.taglibs.standard.tag.common.xml.XPathUtil:
(Source)
Could you make it possible to add custom XML namespaces to the default NamespaceContext, used when working with XPath expressions in the XML Tag library.
This would make the processing of XML data with namespaces a lot easier.
The simplest solution would be a new public static method in
org.apache.taglibs.standard.tag.common.xml.XPathUtil
:(Source)
Of course, it would be more elegant if someone could inject and configure a custom NamespaceContext. But in my opinion that's not necessary.
Currently I work around the issue with Java Reflection to access the HashMap of Namespaces within the JSTLXPathNamespaceContext (see attachment).
darwin_jsp.txt
.
The text was updated successfully, but these errors were encountered: