ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Repchevsky (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (XMLSCHEMA-25) XmlSchemaSerializer everloop
Date Mon, 16 Jul 2012 13:42:35 GMT

     [ https://issues.apache.org/jira/browse/XMLSCHEMA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitry Repchevsky updated XMLSCHEMA-25:
---------------------------------------

    Attachment: XMLSerializerTest.java

Note the usage of NodeNamespaceContext.
NamespaceMap returns null if no prefix found while according NamespaceContext it should return
Constants.NULL_NS_URI
                
> XmlSchemaSerializer everloop
> ----------------------------
>
>                 Key: XMLSCHEMA-25
>                 URL: https://issues.apache.org/jira/browse/XMLSCHEMA-25
>             Project: XmlSchema
>          Issue Type: Bug
>    Affects Versions: XmlSchema 2.0.1, 2.0.2
>         Environment: Win7 Pro 64 *SUN* JDK 7.05
>            Reporter: Dmitry Repchevsky
>              Labels: patch
>             Fix For: 2.0.2
>
>         Attachments: XMLSerializerTest.java, XmlSchemaSerializer.java.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> NamespaceContext.getNamespaceURI() never returns NULL (as it should).
> On the other hand in several places in XmlSchemaSerializer there is a comparison:
> while (ctx != null && ctx.getNamespaceURI(xsdPrefix) != null) {
>   xsdPrefix = "xsd" + ++count;
> }
> This loop goes forever...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message