GithubHelp home page GithubHelp logo

Problem with xmlattr filter about jinjava HOT 5 CLOSED

hubspot avatar hubspot commented on July 19, 2024
Problem with xmlattr filter

from jinjava.

Comments (5)

jaredstehler avatar jaredstehler commented on July 19, 2024

Can you post a reproducible test case? We call xmlattr with no filter args in the unit test: https://github.com/HubSpot/jinjava/blob/master/src/test/java/com/hubspot/jinjava/lib/filter/XmlAttrFilterTest.java#L30

from jinjava.

jaredstehler avatar jaredstehler commented on July 19, 2024

And the version of JVM you're running as well?

from jinjava.

zepernick avatar zepernick commented on July 19, 2024

I will get a test case together. I did find out that this was happening with any filter that did not have parameters passed and not just the xmlattr. I am running jdk1.8.0_65

from jinjava.

jaredstehler avatar jaredstehler commented on July 19, 2024

Yeah I figured it wouldn't be specific to xmlattr. I'm grasping at straws but there might be some kind of conflict going on with the juel javax.el impl used in jinjava and struts/xwork/ognl... I see some javassist bytecode manipulations in ognl for example.

from jinjava.

zepernick avatar zepernick commented on July 19, 2024

see #39 for the resolution

from jinjava.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.