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 2010/09/20 21:34:33 UTC

[jira] Issue Comment Edited: (WSCOMMONS-559) Utils to ease use of XmlSchema in determining instance attribute types

    [ https://issues.apache.org/jira/browse/WSCOMMONS-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912664#action_12912664 ] 

Benson Margulies edited comment on WSCOMMONS-559 at 9/20/10 3:33 PM:
---------------------------------------------------------------------

Not according to the source. The constructor of that class is public and takes no args.

      was (Author: bmargulies):
    Oh, yuck. Indeed. My bad for not catching this. Hang on.
  
> Utils to ease use of XmlSchema in determining instance attribute types
> ----------------------------------------------------------------------
>
>                 Key: WSCOMMONS-559
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-559
>             Project: WS-Commons
>          Issue Type: Improvement
>          Components: XmlSchema
>    Affects Versions: XmlSchema 1.4.6
>            Reporter: Chris Hubick
>            Assignee: Benson Margulies
>             Fix For: XmlSchema 1.4.7
>
>         Attachments: xmlschema_attr_primitive_type.patch, xmlschema_attr_root_type.patch
>
>
> I found it rather difficult to use the XmlSchema library to determine which element attributes from instance documents are derived from the "anyURI" primitive type.
> Some additional utility methods would make this substantially easier:
> - XmlSchemaComplexType.getAttribute(QName) returns XmlSchemaAttribute
> - XmlSchemaSimpleType.getRootTypeName() returns QName

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