-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML should have a method to retrieve compact xml #35
Comments
@dmarkov ping |
I'm aware of the task, give me some time to find a developer... |
thanks for the report, I topped your acc for 15 mins, payment ID |
@rultor release, tag is |
@rultor release, tag is |
@krzyk look at |
@yegor256 Unfortunately it introduces new lines between the tags. |
@krzyk true... let me think about something else |
@jenya this task is yours, please help (see our key principles of work). If you have any technical questions, don't hesitate to ask right here Task's budget is 30 mins (see this for explanation) |
@dmarkov please assign someone else |
@pinaf this task is yours, please help (see our key principles of work). If you have any technical questions, don't hesitate to ask right here... Task's budget is 30 mins (see this for explanation) |
@pinaf if it's a bug in Java XSL implementation, this is not our problem. But I think we're using Saxon in this library, aren't we? |
@yegor256 I don't see any reference to saxon in pom.xml. |
@pinaf in that case, implement it with |
@yegor256 turns out the problem was something else. When the source XML already has line breaks, STRIP doesn't remove them. <hi> <dude> A </dude> </hi> yields <hi><dude> A </dude></hi> But <hi>
<dude> A </dude>
</hi> which already contains linebreaks, yields <hi>
<dude> A </dude>
</hi> I can't get the XSL processor to strip those line breaks. Let me know if you just want STRIP to be used - if not, please give this taks to someone else who knows XSL. |
@pinaf looks like the problem is not with XSL, but with
This will solve the problem, right? |
@yegor256 |
@pinaf I see. So, we should document all this in the Javadoc of |
@yegor256 Alright, but calling Is it alright to also add a link to this discussion in the Javadoc or is that something you don't like? |
@pinaf it's better to keep the source code detached from the discussion tickets |
@dmarkov payment? |
@dmarkov thanks |
Both
XMLDocument
andStrictXML
should have a method to return XML in more compact way (without unnecessary white spaces)The text was updated successfully, but these errors were encountered: