You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by xm...@xml.apache.org on 2004/09/02 02:11:52 UTC
[jira] Created: (XMLBEANS-54) problem with default value
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XMLBEANS-54
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XMLBEANS-54
Summary: problem with default value
Type: Bug
Status: Unassigned
Priority: Major
Project: XMLBeans
Components:
Binding
Assignee:
Reporter: michal
Created: Wed, 1 Sep 2004 5:11 PM
Updated: Wed, 1 Sep 2004 5:11 PM
Environment: Windows XP, jdk 1.4.2_05
Description:
getting error during binding xsdfile to java objects:
default value '1' is not a valid value
<xsd>
.....
<xs:element name="TransportUnitCharacteristics">
<xs:complexType>
<xs:sequence>
<xs:element ref="TransportUnitCode" minOccurs="0"/>
<xs:element ref="TransportUnitMeasurements" minOccurs="0"/>
<xs:element ref="TransportUnitCount" minOccurs="0"/>
<xs:element ref="TransportUnitIdentifier" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="TransportUnitText" minOccurs="0"/>
<xs:element ref="TransportUnitDetail" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="TransportUnitType" type="transportUnitType" use="required"/>
<xs:attribute name="TransportUnitVariable" type="transportUnitVariable" use="optional"/>
<xs:attribute name="TransportUnitLevel" type="nni1" use="optional" default="1"/>
</xs:complexType>
</xs:element>
.....
<xs:simpleType name="nni1">
<xs:restriction base="xs:nonNegativeInteger">
<xs:totalDigits value="1"/>
</xs:restriction>
</xs:simpleType>
.....
</xsd>
this is a fragment of papiNet xml file
---------------------------------------------------------------------
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[jira] Resolved: (XMLBEANS-54) problem with default value
Posted by xm...@xml.apache.org.
Message:
The following issue has been resolved as FIXED.
Resolver: Kevin Krouse
Date: Tue, 28 Sep 2004 6:30 PM
this should be fixed now in JavaIntegerHolderEx.java rev 1.4
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XMLBEANS-54
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XMLBEANS-54
Summary: problem with default value
Type: Bug
Status: Resolved
Priority: Major
Resolution: FIXED
Project: XMLBeans
Components:
Binding
Fix Fors:
V2 Beta 1
Assignee: Yana Kadiyska
Reporter: plastic
Created: Wed, 1 Sep 2004 5:11 PM
Updated: Tue, 28 Sep 2004 6:30 PM
Environment: Windows XP, jdk 1.4.2_05
Description:
getting error during binding xsdfile to java objects:
default value '1' is not a valid value
<xsd>
.....
<xs:element name="TransportUnitCharacteristics">
<xs:complexType>
<xs:sequence>
<xs:element ref="TransportUnitCode" minOccurs="0"/>
<xs:element ref="TransportUnitMeasurements" minOccurs="0"/>
<xs:element ref="TransportUnitCount" minOccurs="0"/>
<xs:element ref="TransportUnitIdentifier" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="TransportUnitText" minOccurs="0"/>
<xs:element ref="TransportUnitDetail" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="TransportUnitType" type="transportUnitType" use="required"/>
<xs:attribute name="TransportUnitVariable" type="transportUnitVariable" use="optional"/>
<xs:attribute name="TransportUnitLevel" type="nni1" use="optional" default="1"/>
</xs:complexType>
</xs:element>
.....
<xs:simpleType name="nni1">
<xs:restriction base="xs:nonNegativeInteger">
<xs:totalDigits value="1"/>
</xs:restriction>
</xs:simpleType>
.....
</xsd>
this is a fragment of papiNet xml file
---------------------------------------------------------------------
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[jira] Updated: (XMLBEANS-54) problem with default value
Posted by xm...@xml.apache.org.
The following issue has been updated:
Updater: michal (mailto:plastic@ncnet.pl)
Date: Wed, 1 Sep 2004 5:16 PM
Comment:
scomp -debug papinet.xsd
papinet.xsd:0: error: The TransportUnitLevel element default value '1' is not a valid value for nni1
Time to build schema type system: 4.594 seconds
BUILD FAILED
Changes:
Attachment changed to papinet.xsd
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/XMLBEANS-54?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XMLBEANS-54
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XMLBEANS-54
Summary: problem with default value
Type: Bug
Status: Unassigned
Priority: Major
Project: XMLBeans
Components:
Binding
Assignee:
Reporter: michal
Created: Wed, 1 Sep 2004 5:11 PM
Updated: Wed, 1 Sep 2004 5:16 PM
Environment: Windows XP, jdk 1.4.2_05
Description:
getting error during binding xsdfile to java objects:
default value '1' is not a valid value
<xsd>
.....
<xs:element name="TransportUnitCharacteristics">
<xs:complexType>
<xs:sequence>
<xs:element ref="TransportUnitCode" minOccurs="0"/>
<xs:element ref="TransportUnitMeasurements" minOccurs="0"/>
<xs:element ref="TransportUnitCount" minOccurs="0"/>
<xs:element ref="TransportUnitIdentifier" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="TransportUnitText" minOccurs="0"/>
<xs:element ref="TransportUnitDetail" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="TransportUnitType" type="transportUnitType" use="required"/>
<xs:attribute name="TransportUnitVariable" type="transportUnitVariable" use="optional"/>
<xs:attribute name="TransportUnitLevel" type="nni1" use="optional" default="1"/>
</xs:complexType>
</xs:element>
.....
<xs:simpleType name="nni1">
<xs:restriction base="xs:nonNegativeInteger">
<xs:totalDigits value="1"/>
</xs:restriction>
</xs:simpleType>
.....
</xsd>
this is a fragment of papiNet xml file
---------------------------------------------------------------------
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[jira] Closed: (XMLBEANS-54) problem with default value
Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-54?page=all ]
Jacob Danner closed XMLBEANS-54:
--------------------------------
Assign To: (was: Yana Kadiyska)
Fix Verified in V2 Branch. closing
> problem with default value
> --------------------------
>
> Key: XMLBEANS-54
> URL: http://issues.apache.org/jira/browse/XMLBEANS-54
> Project: XMLBeans
> Type: Bug
> Components: Binding
> Environment: Windows XP, jdk 1.4.2_05
> Reporter: plastic
> Fix For: Version 2 Beta 1
> Attachments: papinet.xsd
>
> getting error during binding xsdfile to java objects:
> default value '1' is not a valid value
> <xsd>
> .....
> <xs:element name="TransportUnitCharacteristics">
> <xs:complexType>
> <xs:sequence>
> <xs:element ref="TransportUnitCode" minOccurs="0"/>
> <xs:element ref="TransportUnitMeasurements" minOccurs="0"/>
> <xs:element ref="TransportUnitCount" minOccurs="0"/>
> <xs:element ref="TransportUnitIdentifier" minOccurs="0" maxOccurs="unbounded"/>
> <xs:element ref="TransportUnitText" minOccurs="0"/>
> <xs:element ref="TransportUnitDetail" minOccurs="0"/>
> </xs:sequence>
> <xs:attribute name="TransportUnitType" type="transportUnitType" use="required"/>
> <xs:attribute name="TransportUnitVariable" type="transportUnitVariable" use="optional"/>
> <xs:attribute name="TransportUnitLevel" type="nni1" use="optional" default="1"/>
> </xs:complexType>
> </xs:element>
> .....
> <xs:simpleType name="nni1">
> <xs:restriction base="xs:nonNegativeInteger">
> <xs:totalDigits value="1"/>
> </xs:restriction>
> </xs:simpleType>
> .....
> </xsd>
> this is a fragment of papiNet xml file
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org