Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paule

Pages: [1]
1
Suggestions and Requests / Additional eléments for XML schema toolbox
« on: November 21, 2005, 05:12:29 am »
Hello,

while the new XML schema Toolbox introduced with version 6.0 is a really nice feature, it would be nice to also include elements like key / keyref / unique.

2
Uml Process / Data Model and XML Schema representation
« on: August 26, 2005, 01:48:12 am »
I design a data model and would like to represent it as an XML Schema. When generating the XML Schema, column attributes like 'Not Null' and 'Length', however, do not feature in the Schema.
I would like to see them as something like this:

<xs:attribute use="required"/>

 <xs:restriction base="xs:string">
   <xs:maxLength value="30"/>
 </xs:restriction>


I did import the UML Profile for XSD Schema and also tried to work via an intermediate transformation to an XSD Schema model, but to no avail.

Do I need to create a UML Profile for Data Models to do this ?

Thanks

Paul

3
I just installed version 6.0 and found this issue has been solved. Looks great! Thanks.

4
Has anybody figured out how to add an xsd:restriction with attribute base="xs:integer" when using the UML Profile for XML and XSDDatatypes?
It always defaults to "xs:string". I tried to extent the Profile in a number of ways none of which have proved successful.

For string type it's painless - define another XSDSimpleType, set tagged values derivation=restriction and e.g. length=10
and set XSDAttribute's Type = the new XSDSimpleType and  it's included when generating the schema,
but for any other 'base' - no idea how to achieve that.

5

Looking at the Object model in VB I can't figure how to retrieve the fact that an attribute of a table(element) has been marked as a primary key and/or is not NULL.

The report generated out of EA does reflect those properties; the sample app, however, does not when generating 'Elements' and 'Attributes' document.




Pages: [1]