You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by ja...@ws.apache.org on 2004/07/22 18:32:17 UTC

[jira] Created: (JAXME-19) Generated Java source for boolean attributes creates get versus is method

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAXME-19

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAXME-19
    Summary: Generated Java source for boolean attributes creates get versus is method
       Type: Bug

     Status: Unassigned
   Priority: Trivial

    Project: JaxMe

   Assignee: 
   Reporter: John Conlon

    Created: Thu, 22 Jul 2004 9:31 AM
    Updated: Thu, 22 Jul 2004 9:31 AM
Environment: 0.3 release candidate

Description:
JaxMe creates a get<AttName> Java source method for an attribute with a boolean type, but Sun's JAXB RI creates a is<AttName> method.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (JAXME-19) Generated Java source for boolean attributes creates get versus is method

Posted by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/JAXME-19?page=history ]
     
Jochen Wiedmann closed JAXME-19:
--------------------------------


> Generated Java source for boolean attributes creates get versus is method
> -------------------------------------------------------------------------
>
>          Key: JAXME-19
>          URL: http://nagoya.apache.org/jira/browse/JAXME-19
>      Project: JaxMe
>         Type: Bug
>  Environment: 0.3 release candidate
>     Reporter: John Conlon
>     Assignee: Jochen Wiedmann
>     Priority: Trivial

>
> JaxMe creates a get<AttName> Java source method for an attribute with a boolean type, but Sun's JAXB RI creates a is<AttName> method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (JAXME-19) Generated Java source for boolean attributes creates get versus is method

Posted by ja...@ws.apache.org.
The following comment has been added to this issue:

     Author: Jochen Wiedmann
    Created: Thu, 22 Jul 2004 11:31 PM
       Body:

Sorry for not expressing myself right. My question was for the case, when the attribute or element is mapped to the Java type Boolean. Does the RI know that case, for example, if the attribute or element is optional? If so, does it create a "get" or an "is" method?

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAXME-19?page=comments#action_36838

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAXME-19

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAXME-19
    Summary: Generated Java source for boolean attributes creates get versus is method
       Type: Bug

     Status: Open
   Priority: Trivial

    Project: JaxMe

   Assignee: Jochen Wiedmann
   Reporter: John Conlon

    Created: Thu, 22 Jul 2004 9:31 AM
    Updated: Thu, 22 Jul 2004 11:31 PM
Environment: 0.3 release candidate

Description:
JaxMe creates a get<AttName> Java source method for an attribute with a boolean type, but Sun's JAXB RI creates a is<AttName> method.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (JAXME-19) Generated Java source for boolean attributes creates get versus is method

Posted by ja...@ws.apache.org.
The following comment has been added to this issue:

     Author: John Conlon
    Created: Thu, 22 Jul 2004 9:19 PM
       Body:
The bug report was refering to attributes, but your correct JaxMe behaves the same for the attribues and Elements that are of type boolean. 

As for the schema element:
  <element name="foo" type="boolean" minOccurs="0"/>
the RI will generate:

    /**
     * 
     */
    boolean isFoo();

    /**
     * 
     */
    void setFoo(boolean value);


---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAXME-19?page=comments#action_36837

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAXME-19

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAXME-19
    Summary: Generated Java source for boolean attributes creates get versus is method
       Type: Bug

     Status: Open
   Priority: Trivial

    Project: JaxMe

   Assignee: Jochen Wiedmann
   Reporter: John Conlon

    Created: Thu, 22 Jul 2004 9:31 AM
    Updated: Thu, 22 Jul 2004 9:19 PM
Environment: 0.3 release candidate

Description:
JaxMe creates a get<AttName> Java source method for an attribute with a boolean type, but Sun's JAXB RI creates a is<AttName> method.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Resolved: (JAXME-19) Generated Java source for boolean attributes creates get versus is method

Posted by ja...@ws.apache.org.
Message:

   The following issue has been resolved as FIXED.

   Resolver: Jochen Wiedmann
       Date: Wed, 4 Aug 2004 4:07 PM

The RI doesn't generate Boolean properties (as opposed to boolean) by default.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAXME-19

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAXME-19
    Summary: Generated Java source for boolean attributes creates get versus is method
       Type: Bug

     Status: Resolved
   Priority: Trivial
 Resolution: FIXED

    Project: JaxMe

   Assignee: Jochen Wiedmann
   Reporter: John Conlon

    Created: Thu, 22 Jul 2004 9:31 AM
    Updated: Wed, 4 Aug 2004 4:07 PM
Environment: 0.3 release candidate

Description:
JaxMe creates a get<AttName> Java source method for an attribute with a boolean type, but Sun's JAXB RI creates a is<AttName> method.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Assigned: (JAXME-19) Generated Java source for boolean attributes creates get versus is method

Posted by ja...@ws.apache.org.
Message:

   The following issue has been re-assigned.

   Assignee: Jochen Wiedmann (mailto:jochen@apache.org)
   Assigner: Jochen Wiedmann (mailto:jochen@apache.org)
       Date: Thu, 22 Jul 2004 4:05 PM
    Comment:
Fortunately, this is a trivial matter. However, JaxMe's behaviour is indeed a violation of the SPEC (see 4.5.1). A question, though, which is unclear to me: The bug report definitely applies to the following:

    <xs:element name="foo" type="xs:boolean"/>

However, how does the RI behave in the case of

    <xs:element name="foo" type="xs:boolean" minOccurs="0"/>

Thanks for any clarification.


---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAXME-19

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAXME-19
    Summary: Generated Java source for boolean attributes creates get versus is method
       Type: Bug

     Status: Open
   Priority: Trivial

    Project: JaxMe

   Assignee: Jochen Wiedmann
   Reporter: John Conlon

    Created: Thu, 22 Jul 2004 9:31 AM
    Updated: Thu, 22 Jul 2004 4:05 PM
Environment: 0.3 release candidate

Description:
JaxMe creates a get<AttName> Java source method for an attribute with a boolean type, but Sun's JAXB RI creates a is<AttName> method.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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