Giter Club home page Giter Club logo

Comments (7)

morbac avatar morbac commented on July 28, 2024

Hi,

Thanks for your message. I agree there is an issue when pretty printing following xml:
<a>"></a>
I've just commited a fix but I need some more testing before I build a new release.
Regards
NC

from xmltools.

thomasjoscht avatar thomasjoscht commented on July 28, 2024

Hi @morbac ,
thx for your investigation. I'm looking forward for a new release.
Regards Thomas

from xmltools.

morbac avatar morbac commented on July 28, 2024

Hi,
For your information, the release 3.0.3.3 available here should fix the issue.
Best Regards

from xmltools.

thomasjoscht avatar thomasjoscht commented on July 28, 2024

Thx. I've manually changed my Notepad++ extension. The error is fixed. Only the indenting of following element is wrong. Its shiftet to the left.

By the way: Do you know whether there is an option to avoid shorten empty tags? like <elementnr></elementnr> will become to <elementnr/>.

from xmltools.

morbac avatar morbac commented on July 28, 2024

Please check the new version 3.0.4.1 which uses a fully rewritten pretty print function. It should fix the indentation errors.

from xmltools.

thomasjoscht avatar thomasjoscht commented on July 28, 2024

Hey,

I've tested version 3.0.4.1 with one of my large SOAP-requests. It seems there is still an indention problem with empty elements. There is sometimes a line break missing.

For reproduce try this:
<abschlusskonto><pruefungen><pruefung><extId>CASE233057_TEST1_AA.8873.10.20182</extId><examinationAttributes/></pruefung></pruefungen><zusatzpruefungen/></abschlusskonto>

Result is:

<abschlusskonto>
	<pruefungen>
		<pruefung>
			<extId>CASE233057_TEST1_AA.8873.10.20182</extId>
			<examinationAttributes/></pruefung>
	</pruefungen>
	<zusatzpruefungen/></abschlusskonto>

But should be:

<abschlusskonto>
	<pruefungen>
		<pruefung>
			<extId>CASE233057_TEST1_AA.8873.10.20182</extId>
			<examinationAttributes/>
		</pruefung>
	</pruefungen>
	<zusatzpruefungen/>
</abschlusskonto>

Regards
Thomas

from xmltools.

morbac avatar morbac commented on July 28, 2024

This has been fixed in 3.0.4.2

from xmltools.

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.