eclipse-ee4j / eclipse-ee4j/jaxb-fi

White space characters between XML tags (used for formatting purposes only) are outputted into FI stream.

Open
#53 4 comments 0 reactions 1 assignee Claimed by @glassfishrobot View on GitHub
Priority: Minor Type: Bug whitespace
Dominant language
Java
Stars
12
Forks
9
Avg merge
1d 15h
Merged PRs (30d)
3

Description

The outputted FI stream/file contains whitespaces which were placed between tags in original XML and used to create a "pretty" XML (not single line -> added line breaks and indetion to make it easier to read for a human). Those whitespaces are not removed from the stream and are passed into the FI stream making it unnecesarilly larger.
This issue was discovered while I was comparing multiple Fast Infoset implementations - there is a noticable size difference and the additional whitespaces are clerarly identifiable in the stream while using a HEX editor (PSPad, in my case).
I can provide test data if necessary.
#### Environment
MS Windows 7 x64 - Oracle Java 7 update 40 (x64)
Fedora 18 x64 - OpenJDK 7 update 45
#### Affected Versions
[1.2.9]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.