![]() |
![]() |
![]() |
![]() |
13 - Textual representation
Storage format follows XML (eXtensible Markup Language standard from W3C available at http://www.w3c.org) standard with the following DTD (Document Type Definition):
<!ENTITY % boolean "(TRUE|FALSE)">
<!-- Entities for symbol types -->
<!-- ========================= -->
<!ENTITY % sdlSymbolTypes1 "sdlSysDgmFrm|sdlSysTypeDgmFrm|sdlBlkDgmFrm|sdlBlkTypeDgmFrm|sdlBlkType|sdlBlk|sdlBlkTypeInst|sdlPrcsType|sdlPrcs|sdlPrcsTypeInst">
<!ENTITY % sdlSymbolTypes2 "sdlInherits|sdlPrcsTypeDgmFrm|sdlPrcsDgmFrm|sdlPrcdDgmFrm|sdlStart|sdlState|sdlInputSig|sdlSendSig|sdlSaveSig|sdlContSig">
<!ENTITY % sdlSymbolTypes3 "sdlTask|sdlDecision|sdlTransOpt|sdlJoin|sdlText|sdlComment|sdlTextExt|sdlCnctrOut|sdlCnctrIn|sdlPrcsCreation|sdlStop">
<!ENTITY % sdlSymbolTypes4 "sdlInitTimer|sdlResetTimer|sdlSemDecl|sdlSemTake|sdlSemGive|sdlPrcdProto|sdlPrcdDecl|sdlPrcdCall|sdlPrcdStart|sdlPrcdReturn">
<!ENTITY % mscSymbolTypes "mscExternalFrm|mscInlineExpr|mscLifeline|mscLostMsg|mscFoundMsg|mscComment|mscGenNameArea|mscText|mscAbsTimeConstr|mscCondition|mscMscRef|mscInlineExprZone">
<!ENTITY % hmscSymbolTypes "hmscDgmFrm|hmscParallelFrm|hmscStart|hmscEnd|hmscCondition|hmscMscRef|hmscCnctnPoint">
<!ENTITY % mscdocSymbolTypes "mscdocDgmFrm|mscdocMscRef|mscdocHeader">
<!ENTITY % SymbolType "(%sdlSymbolTypes1;|%sdlSymbolTypes2;|%sdlSymbolTypes3;|%sdlSymbolTypes4;|%mscSymbolTypes;|%hmscSymbolTypes;|%mscdocSymbolTypes;)">
<!-- Entity for lifeline component type -->
<!-- ================================== -->
<!ENTITY % LifelineComponentType "(norm|susp|meth|coreg|act)">
<!-- Entity for time interval type -->
<!-- ============================= -->
<!ENTITY % TimeIntervalType "(start|end|timeout|constraint)">
<!-- Entity for connector types -->
<!-- ========================== -->
<!ENTITY % ConnectorType "(void|chnl|chnlgate|sdlarrow|mscvoid|mscgate|mscarrowgate|hmscarrow)">
<!-- Entity for side for connectors -->
<!-- ============================== -->
<!ENTITY % Side "(n|s|w|e|x|y)">
<!-- Entity for end types for connectors -->
<!-- =================================== -->
<!ENTITY % ConnectorEndType "(voidend|arrow|midarrow)">
<!-- Entity for link segment orientation -->
<!-- =================================== -->
<!ENTITY % Orientation "(h|v)">
<!-- Entity for link types -->
<!-- ===================== -->
<!ENTITY % LinkType "(sbvoid|dbvoid|ssvoid|dsvoid|chnl|dec|transopt|msg|rtn)">
<!-- Entity for diagram types -->
<!-- ======================== -->
<!ENTITY % DiagramType "(sys|systype|blk|blktype|prcs|prcstype|prcd|msc|hmsc|mscdoc|class|usec|act|state|comp|seq|coll|depl)">
<!-- Element for text in symbols/links/... -->
<!-- ===================================== -->
<!-- Element for lifeline symbol components (MSC specific) -->
<!-- ===================================================== -->
<!-- The "Text" component and "width" attribute are only for action symbols -->
<!ELEMENT LifelineComponent (Text?)>
type %LifelineComponentType; #REQUIRED
<!-- Element for lifeline symbol time intervals (MSC specific) -->
<!-- ========================================================= -->
<!ELEMENT TimeInterval (Text)>
type %TimeIntervalType; #REQUIRED
<!-- Element for spanned lifelines for spanning symbols (MSC specific) -->
<!-- ================================================================= -->
<!ELEMENT SpannedLifeline EMPTY>
<!-- Element for inline expression zones (MSC specific) -->
<!-- ================================================== -->
<!-- The "LifelineComponent" and "TimeInterval" components and the "dies" attribute are only for lifelines symbols -->
<!-- The "Zone" component is only for inline expression symbols -->
<!-- The "SpannedLifeline" component is only for spanning symbols in MSC diagrams -->
<!ELEMENT Symbol (Text, (((LifelineComponent*), (TimeInterval*)) | ((SpannedLifeline*), (Zone*)) | (Symbol*)))>
fixedDimensions %boolean; "FALSE"
<!-- Element for connectors -->
<!-- ====================== -->
<!ELEMENT Connector (Text, Text)>
attachedSymbolId IDREF #REQUIRED
type %ConnectorType; #REQUIRED
endType %ConnectorEndType; #REQUIRED
<!-- Element for link segments -->
<!-- ========================= -->
orientation %Orientation; #REQUIRED
<!ELEMENT Link (Text, Connector, Connector, LinkSegment*)>
textSegmentNum CDATA #REQUIRED
![]() http://www.sdl-rt.org info@sdl-rt.org |
![]() |
![]() |
![]() |
![]() |