You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2007/06/11 21:19:25 UTC

[jira] Created: (IVY-524) pom parser doesn't necessarily processes all important information

pom parser doesn't necessarily processes all important information
------------------------------------------------------------------

                 Key: IVY-524
                 URL: https://issues.apache.org/jira/browse/IVY-524
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0-alpha-1
            Reporter: Maarten Coene
            Assignee: Maarten Coene
             Fix For: 2.0.0-alpha-2


The pom parser doesn't implement the characters(...) method well. It is possible that the XML parser passes the content of XML elements in chuncks to the pom parser. The pom parser only takes care of the first part.

For instance:

<version>1.2.3</version>

can result in the following callbacks on the pom parser:

startElement("version");
charachters("1.2");
charachters(".3");
endElement("version");

The pom parser will loose the ".3" version information!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (IVY-524) pom parser doesn't necessarily processes all important information

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-524.
-------------------------------

    Resolution: Fixed

> pom parser doesn't necessarily processes all important information
> ------------------------------------------------------------------
>
>                 Key: IVY-524
>                 URL: https://issues.apache.org/jira/browse/IVY-524
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Maarten Coene
>            Assignee: Maarten Coene
>             Fix For: 2.0.0-alpha-2
>
>
> The pom parser doesn't implement the characters(...) method well. It is possible that the XML parser passes the content of XML elements in chuncks to the pom parser. The pom parser only takes care of the first part.
> For instance:
> <version>1.2.3</version>
> can result in the following callbacks on the pom parser:
> startElement("version");
> charachters("1.2");
> charachters(".3");
> endElement("version");
> The pom parser will loose the ".3" version information!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.