Giter Site home page Giter Site logo

XML namespacing about sheetjs HOT 5 CLOSED

sheetjs avatar sheetjs commented on May 5, 2024
XML namespacing

from sheetjs.

Comments (5)

redchair123 avatar redchair123 commented on May 5, 2024

@paprikka every bug you find improves this a little bit :) Thanks for reporting. I will push a fix later today (If you could, please share a buggy file (obviously stripping out confidential information) by email (look at the commit log) or some file sharing service.

from sheetjs.

redchair123 avatar redchair123 commented on May 5, 2024

@paprikka I wonder if you are using the latest version. The version from March 21 2013 (commit hash 7ed5d70, commit message "xml preserve space regex") appeared to fix the issue. Can you send me that file?

7ed5d70#xlsx.js

 // matches <foo>...</foo> extracts content
-function matchtag(f,g) {return new RegExp('<' + f + '>([\\s\\S]*)</' + f + '>',g||"");}
+function matchtag(f,g) {return new RegExp('<'+f+'(?: xml:space="preserve")?>([^]*)</'+f+'>',(g||"")+"m");}

from sheetjs.

paprikka avatar paprikka commented on May 5, 2024

@Niggler you're right, I've made some major changes to your library a month ago and haven't updated it since that time. Everything works fine now. Sorry for the confusion.

from sheetjs.

redchair123 avatar redchair123 commented on May 5, 2024

@paprikka If you've made some changes that improve parsing or fix other bugs, might I suggest submitting some of them for inclusion?

from sheetjs.

paprikka avatar paprikka commented on May 5, 2024

@Niggler Yes of course! I'll do that with pleasure when I come back from the holidays (in 8 days from today). I'm coming back in a week but I have to test this stuff before (that's why I didn't send any pull requests yet).

from sheetjs.

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.