Bugs item #1769562, was opened at 2007-08-07 10:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1769562&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Heath Stewart (heaths)
Assigned to: Nobody/Anonymous (nobody)
Summary: XsdGen should create nested types for nested simpleTypes

Initial Comment:
The bug is actually that during XsdGen, StronglyTypedClasses.ProcessAttribute 
creates a global type for a nested simpleType (xs:attribute/xs:simpleType) 
based on the xs:attribute/@name value. When I had an attribute named "Version" 
if created a global "VersionType" which 1) caused the actual defined 
VersionType to not be generated later, and 2) caused my simpleType derived from 
xs:NMTOKEN to not work correctly because the parser was confused about 
something (didn't look into this too deeply since the root cause was known).

So, since these nested simpleTypes are only used by their parent types they 
should be generated the same in C#: nested types under the typed class 
generated for the element that ultimately contains the simpleType.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1769562&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to