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.


Topics - Oopah

Pages: [1]
1
Uml Process / Generate XML schema - XSD Simple type - ISO TC211
« on: June 14, 2016, 11:35:37 pm »
Hello,

I'm trying to implement a new XSD simple type "NonEmptyString", with at least one character (minLength set at 1, plus a pattern), under the UML Profile for INSPIRE directive.

I tried by creating a new class, setting its stereotype to type, then generalizing from the CharacterString type in INSPIRE specifications (ISO TC211 repository), and adding a minLength attribute with default value set to 1.  ==> FAIL. Creates the class, but with an attribute named minLength.

I tried that, generalizing from the "string" element in the UML profile for XML schema, and creating a class with the type XSDSimpleType as a stereotype, and setting the type to string, then under the UML menu, setting the minLength tag value at 1 (thus doing a restriction). ==> FAIL. Does not create the class at all.

Many thanks for any hypothesis you may have to provide. :)

2
General Board / Tagged values
« on: May 10, 2016, 09:38:18 pm »
Hi all,

I have a logical model on EA, that I use to generate a GML application schema. On some compulsory attributes (string ones), even if the multiplicity is set to 1:1, and not nillable (nillable="false", default behavior), when I create a bogus XML file, I can leave the XML tag unfilled and it's still considered valid.

I tried putting a "minLength" tag at 1, but it does not translate into the XML schema. After looking into it, it seems that's because attributes are not treated as SimpleType. How can I force EA to tell its XML generator that a certain attribute is going to be a simple type ?

Many tahnks for any hints. :)

3
Hi all,

When I changed from EA 11 to 12, I noticed that the quality for the diagram image went down in the HTML documentation generated. Would you know how to get the image to a better quality ?

The icons, once the documentation is generated, are not as crisp clean as they used to either, and have a green border added that wasn't there before. Image below for comparison purposes, all icons have the same problem. Would you happen to know what is causing this slight difference, that isn't very aesthetically pleasing ?

Many thanks by advance for any answer that would help me get to a solution. :)


Pages: [1]