You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2008/01/11 03:14:34 UTC

[jira] Created: (WSCOMMONS-291) Schema URI discarded for two-element read overload of XmlSchemaCollection

Schema URI discarded for two-element read overload of XmlSchemaCollection
-------------------------------------------------------------------------

                 Key: WSCOMMONS-291
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-291
             Project: WS-Commons
          Issue Type: Bug
          Components: XmlSchema
            Reporter: Benson Margulies


 The 'null' in the builder call should be 'uri'.


public XmlSchema read(Element elem, String uri) {
        SchemaBuilder builder = new SchemaBuilder(this, null);
        XmlSchema xmlSchema = builder.handleXmlSchemaElement(elem, null);
        xmlSchema.setInputEncoding(DOMUtil.getInputEncoding(elem.getOwnerDocument()));
        return xmlSchema;
    }

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


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


[jira] Resolved: (WSCOMMONS-291) Schema URI discarded for two-element read overload of XmlSchemaCollection

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

Davanum Srinivas resolved WSCOMMONS-291.
----------------------------------------

    Resolution: Fixed

Already fixed in svn. Please see

https://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaCollection.java?view=annotate

-- dims

> Schema URI discarded for two-element read overload of XmlSchemaCollection
> -------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-291
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-291
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Benson Margulies
>
>  The 'null' in the builder call should be 'uri'.
> public XmlSchema read(Element elem, String uri) {
>         SchemaBuilder builder = new SchemaBuilder(this, null);
>         XmlSchema xmlSchema = builder.handleXmlSchemaElement(elem, null);
>         xmlSchema.setInputEncoding(DOMUtil.getInputEncoding(elem.getOwnerDocument()));
>         return xmlSchema;
>     }

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


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