<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Package in XSD's"]]></title>
		<link>http://forums.visual-paradigm.com/posts/50.html</link>
		<description><![CDATA[Latest messages posted in the topic "Package in XSD's"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Package in XSD's</title>
				<description><![CDATA[ Jick,<br> <br> I started to assign the various classes into packages so that rather than one big schema there are several, more modular schema and have run into a problem.<br> <br> I create packages by diagram - I use the text field above the diagram to name it.<br> <br> Where I have classes in other diagrams they are not included in the package. I check this by looking at the children of the package.<br> <br> When I generate it does not include the associations. You can see from the diagram below that there should be a number of elements created because of the associations that have been created. If this diagram is not in a package or in the default package then these get generated, if the diagram is a package then they do not get generated.<br> <br> I have done some digging and it would appear that in xsdclass.vm if you stick the code:<br> <br> #foreach( &#36;attribute in &#36;class.xsdElementAttributeIterator() )<br> 	DEBUG:&#36;attribute.getName()<br> #end<br> <br> you see all the real attributes but not the ones that should be created by assoication.<br> <br> If I remove the package then I see all the attributes including those that should be created because of the  assocations.<br> <br> If I add the code &#36;class.t_importClassesCount() then I can see that there are 4 import classes - I am guessing that these should be generated as well...assuming that the roles defined in the assoication let them....<br> <br> Am I going mad? or just not using assoications properly? ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2425#18961.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2425#18961.html</link>
				<pubDate><![CDATA[Thu, 23 Aug 2007 04:52:36]]></pubDate>
				<author><![CDATA[ TobyAnscombe]]></author>
			</item>
			<item>
				<title>Package in XSD's</title>
				<description><![CDATA[ I had a play with C++ and Java this morning and both of those work fine and generate the views that I expect.<br> <br> It appears to be just an issue with the XSD generation. If I get a chance I will have a play with the API's this afternoon.<br> <br> Cheers<br> <br> T]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2425#18975.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2425#18975.html</link>
				<pubDate><![CDATA[Thu, 23 Aug 2007 18:41:12]]></pubDate>
				<author><![CDATA[ TobyAnscombe]]></author>
			</item>
			<item>
				<title>Re:Package in XSD's</title>
				<description><![CDATA[ Hi Toby,<br> <br> The problem has been fixed. Please download the patch at:<br> <a href="http://files3.visual-paradigm.com/200708/Patch/6-1-0_20070821g/VP_Suite_MacOSX_3_1_20070821g.dmg" target="_blank" rel="nofollow">http://files3.visual-paradigm.com/200708/Patch/6-1-0_20070821g/VP_Suite_MacOSX_3_1_20070821g.dmg</a><br> <br> Please let me know if it works. Thank you.<br> <br> Have a nice weekend!<br> <br> Best regards,<br> Jick<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2425#18985.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2425#18985.html</link>
				<pubDate><![CDATA[Fri, 24 Aug 2007 18:33:47]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
	</channel>
</rss>