Code Monkey home page Code Monkey logo

Comments (5)

sonnyp avatar sonnyp commented on July 18, 2024

@vincentdass IIRC ' is not allowed in XML attribute values so I'm not sure what you expect?

from ltx.

vincent1173 avatar vincent1173 commented on July 18, 2024

@sonnyp , thanks for the quick response.
Referring to this stackoverflow post, it is found that ' (single quotes) are valid in XML attributes, when they are enclosed by double quotes.
I tried parsing and substitution with xmldom and it worked fine. No encoding is required for the same XML.
My expectation is XML special characters should not be encoded by default, it is purely users' choice.

from ltx.

sonnyp avatar sonnyp commented on July 18, 2024

Okay my bad. I wouldn't make anything optional though, just encode what needs to be however encoding only what needs to be does require some work, the current behaviour is functional and safe so it's definitely low priority for me but if anyone is willing to work on this; please do so.

from ltx.

vincent1173 avatar vincent1173 commented on July 18, 2024

@sonnyp , Can you please add me to this repo ?
I would like to contribute here.

from ltx.

astro avatar astro commented on July 18, 2024

<tag name="NodeName" websiteName="ValueOfWebsiteName" connectionStrinng="{name: 'myconnection'}" />
gets replaced to
<tag name="NodeName" websiteName="ValueOfWebsiteName" connectionStrinng="{name: &apos;myconnection&apos;}"/>

They're equivalent so there isn't much point to this?

Can you please add me to this repo ?

Could you please work with Pull Requests so that your contributions can be reviewed?

from ltx.

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.