Git Product home page Git Product logo

Comments (5)

pinussilvestrus avatar pinussilvestrus commented on July 23, 2024

Are you creating an extension or is this a general behavior when working with this module? Could you maybe share a Code Snippet / or a CodeSandbox which reproduces the behavior you are referring to?

I recently added some issue templates that were missing in this project. Could you maybe take one (feature request or bug report) and provide the necessary details? It will help us to understand your problem in a detailed manner.

from camunda-bpmn-moddle.

VGamezz19 avatar VGamezz19 commented on July 23, 2024

Hey @pinussilvestrus! i did update the issue with your template.

However, Its dificult to me replicate an example in the CodeSandbox.

I added more information about the issue in Steps to Reproduce setcion, hope it could helps to you to understand!.

Really glad for your time

from camunda-bpmn-moddle.

pinussilvestrus avatar pinussilvestrus commented on July 23, 2024

I was trying to reproduce it inside this CodeSandbox (all libraries on the latest version). When I click the button and execute the saving of the XML, I don't experience the side effect you mention.

Can you maybe try to reproduce your behavior with the sandbox? Maybe it also relates to your personal setup.

from camunda-bpmn-moddle.

VGamezz19 avatar VGamezz19 commented on July 23, 2024

Hi @pinussilvestrus first of all, thanks for your time.
I'm ashamed to said that we have discovered the problem. It comes from our .NetCore API.

There we are working with System.Xml.XmlSerializer, Version=4.1.2.0 just to work with the BPMN properties inside our API domain. We figured out that this XmlSerializer is adding their own validations and parsers while formating de BPMNxml to object

        /// <summary>
        /// Parse BPMN
        /// </summary>
        /// <param name="stream">BPMN XML stream</param>
        /// <returns>Parsed definitions element</returns>
        public static tDefinitions Parse(System.IO.Stream stream)
        {
            var serialzer = new XmlSerializer(typeof(tDefinitions));
            return (tDefinitions)serialzer.Deserialize(stream);
        }

Following this work around

If you have more info about how to parse the BPMN xml in .Net Core, let me know, otherwise, close the issue!

Tnx alot for your time

from camunda-bpmn-moddle.

pinussilvestrus avatar pinussilvestrus commented on July 23, 2024

Great to hear you found the problem :)

I'll close the issue. Follow-up discussions can be made in the Camunda forum I guess.

from camunda-bpmn-moddle.

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.