Issue Details (XML | Word | Printable)

Key: XMLBEANS-120
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Unassigned
Reporter: Don Stewart
Votes: 4
Watchers: 5
Operations

If you were logged in you would be able to see more operations.
XMLBeans

No TypeHolder generated in -srconly

Created: 10/Mar/05 03:29 AM   Updated: 10/Dec/08 01:41 AM
Return to search
Component/s: Compiler
Affects Version/s: Version 2 Beta 2
Fix Version/s: Version 2.1

Time Tracking:
Not Specified

File Attachments:
  Size
XML File SpaceSystem.xsd 2005-06-13 11:40 PM Johannes Stamminger 111 kB

Resolution Date: 10/Dec/08 01:41 AM


 Description  « Hide
If youcreate a -srconly output no TypeHolder class is generated. If you try to edit the source files in an IDE they all point to a missing class and as such the IDE's report errors in every generated Interface.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #220181 Thu Jul 21 20:47:57 UTC 2005 radup Fix for XMLBEANS-120.

This patch updates the hardcoded SchemaType reference to resolve the TypeSystemHolder by name using a new API on XmlBeans for that purpose. That should resolve the IDE missing class problem if you compile using the -srconly option.

Contributed by Lawrence Jones
Files Changed
MODIFY /xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java
MODIFY /xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/XmlBeans.java