[ 
https://issues.apache.org/jira/browse/GROOVY-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18149446#comment-18149446
 ] 

ASF GitHub Bot commented on GROOVY-3905:
----------------------------------------

codecov-commenter commented on PR #3335:
URL: https://github.com/apache/groovy/pull/3335#issuecomment-7087660167

   ## 
[Codecov](https://app.codecov.io/gh/apache/groovy/pull/3335?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 Report
   :x: Patch coverage is `99.32886%` with `1 line` in your changes missing 
coverage. Please review.
   :white_check_mark: Project coverage is 74.9823%. Comparing base 
([`09e84fa`](https://app.codecov.io/gh/apache/groovy/commit/09e84fa4b0d4c37a5ac2efc48dfd2db93a84cab7?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache))
 to head 
([`6193dd8`](https://app.codecov.io/gh/apache/groovy/commit/6193dd880880787fd27ab6eaa638ee734353bd6d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :warning: Report is 1 commits behind head on master.
   
   | [Files with missing 
lines](https://app.codecov.io/gh/apache/groovy/pull/3335?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 | Patch % | Lines |
   |---|---|---|
   | 
[...y-xml/src/main/java/groovy/xml/XmlNodePrinter.java](https://app.codecov.io/gh/apache/groovy/pull/3335?src=pr&el=tree&filepath=subprojects%2Fgroovy-xml%2Fsrc%2Fmain%2Fjava%2Fgroovy%2Fxml%2FXmlNodePrinter.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VicHJvamVjdHMvZ3Jvb3Z5LXhtbC9zcmMvbWFpbi9qYXZhL2dyb292eS94bWwvWG1sTm9kZVByaW50ZXIuamF2YQ==)
 | 99.2126% | [0 Missing and 1 partial :warning: 
](https://app.codecov.io/gh/apache/groovy/pull/3335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 |
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   [![Impacted file tree 
graph](https://app.codecov.io/gh/apache/groovy/pull/3335/graphs/tree.svg?width=650&height=150&src=pr&token=1r45138NfQ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)](https://app.codecov.io/gh/apache/groovy/pull/3335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   ```diff
   @@                Coverage Diff                 @@
   ##               master      #3335        +/-   ##
   ==================================================
   + Coverage     74.9518%   74.9823%   +0.0306%     
   - Complexity      48908      49043       +135     
   ==================================================
     Files            1768       1768                
     Lines          161213     161374       +161     
     Branches        31728      31773        +45     
   ==================================================
   + Hits           120832     121002       +170     
   + Misses          28968      28965         -3     
   + Partials        11413      11407         -6     
   ```
   
   | [Files with missing 
lines](https://app.codecov.io/gh/apache/groovy/pull/3335?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 | Coverage Δ | |
   |---|---|---|
   | 
[src/main/java/groovy/util/Node.java](https://app.codecov.io/gh/apache/groovy/pull/3335?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fgroovy%2Futil%2FNode.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9ncm9vdnkvdXRpbC9Ob2RlLmphdmE=)
 | `87.2404% <100.0000%> (+1.2221%)` | :arrow_up: |
   | 
[...groovy-xml/src/main/java/groovy/xml/XmlParser.java](https://app.codecov.io/gh/apache/groovy/pull/3335?src=pr&el=tree&filepath=subprojects%2Fgroovy-xml%2Fsrc%2Fmain%2Fjava%2Fgroovy%2Fxml%2FXmlParser.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VicHJvamVjdHMvZ3Jvb3Z5LXhtbC9zcmMvbWFpbi9qYXZhL2dyb292eS94bWwvWG1sUGFyc2VyLmphdmE=)
 | `72.7273% <100.0000%> (+1.9956%)` | :arrow_up: |
   | 
[...y-xml/src/main/java/groovy/xml/XmlNodePrinter.java](https://app.codecov.io/gh/apache/groovy/pull/3335?src=pr&el=tree&filepath=subprojects%2Fgroovy-xml%2Fsrc%2Fmain%2Fjava%2Fgroovy%2Fxml%2FXmlNodePrinter.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VicHJvamVjdHMvZ3Jvb3Z5LXhtbC9zcmMvbWFpbi9qYXZhL2dyb292eS94bWwvWG1sTm9kZVByaW50ZXIuamF2YQ==)
 | `91.6667% <99.2126%> (+7.5871%)` | :arrow_up: |
   
   ... and [14 files with indirect coverage 
changes](https://app.codecov.io/gh/apache/groovy/pull/3335/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   </details>
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test 
Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, 
report on failures, and find test suite problems.
   - :package: [JS Bundle 
Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save 
yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>




> XMLNodePrinter doesn't keep namespace required for attribute value
> ------------------------------------------------------------------
>
>                 Key: GROOVY-3905
>                 URL: https://issues.apache.org/jira/browse/GROOVY-3905
>             Project: Groovy
>          Issue Type: Bug
>          Components: XML Processing
>    Affects Versions: 1.6.5
>         Environment: Groovy 1.6.5 / Linux
>            Reporter: Nicolas Nobelis
>            Assignee: Daniel Sun
>            Priority: Major
>         Attachments: NameSpaceTest.groovy, TableReportSimpleRequest.xml
>
>
> I have a SOAP request containing the following stanza :
> <filterValue *xmlns:xs="http://www.w3.org/2001/XMLSchema"* 
> xsi:type="xs:string">gaucho</filterValue>
> However, XMLNodePrinter outputs :
> <filterValue xsi:type="xs:string">gaucho</filterValue>
> I looked in the source of XMLNodePrinter, and it seems that, since an 
> element/attribute with the prefix 'xs' is never encountered, the 
> corresponding call to _printNamespace_ is never done.
> The processed xml give me an Unmarshalling Exception from the web service 
> because the namespace 'xs' is then not bound. I understand that usually, 
> namespaces that are not used in the XML don't have to be outputted, but still 
> I do not feel comfortable with XMLNodePrinter removing some of my 
> declarations.
> You will find in attachment the raw SOAP request and a sample Groovy script 
> to test it (this is not a unit test).
> Thanks in advance
> N.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to