qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Ritchie (JIRA)" <j...@apache.org>
Subject [jira] Commented: (QPID-2986) Segregate the XML Parsing into a utility class
Date Mon, 10 Jan 2011 02:36:45 GMT

    [ https://issues.apache.org/jira/browse/QPID-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979460#action_12979460

Martin Ritchie commented on QPID-2986:

Did we considered using JAXB to parse and validate the XML? Would save having to rewrite 
parsing/validation code.

Now that this patch pulls the existing validation code out to a utility class it should be
easy to replace with an existing parser?

> Segregate the XML Parsing into a utility class
> ----------------------------------------------
>                 Key: QPID-2986
>                 URL: https://issues.apache.org/jira/browse/QPID-2986
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>    Affects Versions: 0.8
>            Reporter: Sorin Suciu
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.9
>         Attachments: qpid-2986.patch
> There is a slight xml parsing/validating code duplication QpidLog4JConfigurator and LoggingManagementMBean
and it would be useful to segregate the XML parsing as a utility class so we could reuse it
for XML configuration validation for example. The patch attached is an attempt to do so. 

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

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message