Giter Site home page Giter Site logo

Overlapping Fields about folioxml HOT 7 OPEN

imazen avatar imazen commented on July 24, 2024
Overlapping Fields

from folioxml.

Comments (7)

lilith avatar lilith commented on July 24, 2024

Hi Darryl,

This is very interesting - a case our unit tests must have missed. I'd also be interested in the SLX output to see where the error is happening.

Is this a problem your company would needs particularly prompt resolution for? We do offer paid services.

from folioxml.

Darryl-CogniLore avatar Darryl-CogniLore commented on July 24, 2024

Nathanael,

Here is what is in the .slx. (note that I have been adding whitespace for easier reading)

<record>
<p>
<span class="field1" type="field 1"><span class="field2" type="field 2">field 1 and field 2 field 1</span type="field 2">
<span class="field1" type="field 1">field 1 <span class="field2" type="field 2">field 1 and field 2 field 2</span type="field 2">
</p>
</span type="field 1"></span type="field 1">
</record>

And these 2 log entries were seen during the conversion process.
Dropping orphaned closing ghost tag { </span type="field 1"> : </FD:"field 1"> Line x col y in file }
Dropping orphaned closing ghost tag { </span type="field 1"> : </FD:"field 1"> Line x col y in file }

from folioxml.

Darryl-CogniLore avatar Darryl-CogniLore commented on July 24, 2024

Nathanael,
this isn't an urgent issue at this time however if we are to continue using this tool would need a resolution. When we get to that point, we will consider taking a crack at it ourselves in case you haven't already.

Cheers

from folioxml.

lilith avatar lilith commented on July 24, 2024

Quite strange. This shouldn't happen unless field2 is somehow classified as a 'context' element. This is the full XML, no tags or elements removed? If you can set up a unit test and send a PR that reproduces this, I can try to take a look at it the following week.

from folioxml.

lilith avatar lilith commented on July 24, 2024

One note, for clarity, the last word should be "field 2", not "field 1".

  <FD:"field 1"><FD:"field 2">field 1 and field 2 </FD:"field 1"> field 1</FD:"field 2">

from folioxml.

lilith avatar lilith commented on July 24, 2024

I've tried this exact set of fields and can't reproduce the problem on the develop branch. Which commit did you use to create this result?

e5e33e6

from folioxml.

Darryl-CogniLore avatar Darryl-CogniLore commented on July 24, 2024

Sorry Nathanael,

From your message 3 days ago, yes you are correct the last word should be "field 2". What did the .slx look like from your testing?

We used the latest on the master branch at the time, early May 2015. I apologize, the following information would probably have been helpful earlier: we used IKVM compiler to build a .NET assembly from the Java byte code and now use/run the .net assembly to transform FFF. We did not include the overlapping field scenario in our initial testing with the java source and jars.

from folioxml.

Related Issues (12)

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.