• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • Chemical Markup Language
  • Bugs

XMLBeans gives warning on maxOccurs

Brought to you by: billyfish, drzz, jat45, jimdowning, and 5 others
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Tickets ▾
    • Bugs
    • Support Requests
    • Patches
    • Feature Requests
  • News
  • Discussion
  • Code
  • Cvs
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

  • 5.3b1

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#10 XMLBeans gives warning on maxOccurs

open
nobody
None
5
2009-03-14
2009-03-14
Egon Willighagen
No

That is:

$ scomp -src . -d . cml.xsd
/home/egonw/tmp/cml/cml.xsd:10098:9: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
Time to build schema type system: 1.792 seconds
Time to generate code: 3.297 seconds
Time to compile code: 9.658 seconds

The problem is reflected by line 10098 which goes like:

<xsd:sequence minOccurs="0" maxOccurs="0">

which can be traced down to line 23 in schema2/trunk/elements/tableHeaderCell.xsd.

XMLBeans := xmlbeans.apache.org

Discussion

  • Egon Willighagen

    Egon Willighagen - 2009-03-14

    The context is written up in my blog:

    http://chem-bla-ics.blogspot.com/2009/03/autogenerating-cml-bindings-for-xmpp.html

     
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
MongoDB Logo MongoDB