Coder Social home page Coder Social logo

kxml's People

Contributors

opticron avatar overv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kxml's Issues

Lack of example and documentation.

The documentation is very lacking, and it's almost impossible to use for me because of it. Can I get at least one example program to get a grasp on how it does work, or should I look for some other kind (although uneditable by humans) of data storage.

kxml for dmd2

I made a few updates on kxml for DMD 2, the code has more strict adherence to the D syntax style but it removes compatibility. I also created a travis test for it.

https://github.com/etcimon/kxml

If you'd like to create a kxml2 repository, perhaps I could make a pull request on it

getAttribute with default

It would be cool if getAttribute can return a default value if the attribute is not found.

    string getAttribute(string name, string defaultValue = null) 
    {
        if (name in _attributes)
            return xmlDecode(_attributes[name]);
        else
            return defaultValue;
    }

performance issues with xmlDecode() ?

While testing a D port of some C++ XML handling code I noticed that the xmlDecode() function used for entity decoding seems a bit on the slow side.
More specifically, the regex stuff used for decimal/hex entities is making up a large amount of the runtime. (and the XML i'm testing doesn't actually contain any entities to process, so this is a more unfortunate overhead).

Just seems that using a regex for this is less efficient than the manual approach used by other D XML libs?

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.