Comments (3)
I am not sure the xml can be considered broken. Do you have an actual issue where the xml can’t be used as-is? Can you provide a screenshot perhaps?
I believe the xml is well-formed, see w3.org specification. Also, I don’t think I can specify utf-8, as there is no specific handling of text encoding. I could perhaps add the xml version though, if this helps resolve your issue.
Thanks for using Duplo and providing feedback!
from duplo.
Well, I mean the following issue: the xml output currently looks like:
...
<set LineCount="21">
<block SourceFile="..." StartLineNumber="267"/>
<block SourceFile="..." StartLineNumber="222"/>
<lines xml:space="preserve">
<line Text="..."/>
...
<line Text="..."/>
</lines>
</set>
...
</duplo>
So there is closing tag </duplo> at the very end, but there is no corresponding opening tag <duplo> at the beginning of the document. Therefore this xml cannot be read by some xml parsers.
The tag <?xml ... ?> would be also nice-to-have as it could be important for some of them.
from duplo.
You are right! As you already have the fix, can you provide a PR? Without the encoding part:
<?xml version="1.0"?>
<duplo>
from duplo.
Related Issues (20)
- Support of finding duplicates within the same file HOT 2
- Output in XML/JSON format HOT 2
- Checking arbitrary files doesn't work HOT 5
- Ensure at least minimum number of lines in analysis
- Change links to Source Forge to GitHub
- Limitation for Total_lines_of_code HOT 2
- Unique Duplicate LOC count HOT 8
- Version from tag
- Docker image
- Why multiple duplicates hasn't been merged? HOT 10
- Output real block length (not only filtered) HOT 4
- Single file duplication not detected
- Fix docker push HOT 1
- Add GitHub action to build on Windows
- Create GitHub action for running Duplo
- Duplo parameters configuration HOT 2
- Build error using windows sln file HOT 3
- (re-)implement java support
- Not compiling on my linux (kernel 3.19.0-33-generic) "‘memset’ was not declared in this scope" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duplo.