cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Epic schema bug?

ptc-953926
1-Newbie

Epic schema bug?



Adepters:







We’re using a schema in our
doctype in Arbortext Editor 5.2, patch M040. I’ve defined a particular
attribute to be a union of two simple types:








<xs:simpletype<br/>name="sizeByNumber">



<xs:restriction<br/>base="xs:positiveInteger">



<xs:mininclusive<br/>value="1"/>



<xs:maxinclusive<br/>value="20"/>



</xs:restriction>



</xs:simpletype>







<xs:simpletype<br/>name="pickAll">



<xs:restriction<br/>base="xs:string">



<xs:enumeration<br/>value="all"/>



</xs:restriction>



</xs:simpletype>







Used as:







<xs:attribute<br/>name="display" use="optional" default="all">



<xs:simpletype>



<xs:union<br/>memberTypes="sizeByNumber pickAll" />



</xs:simpletype>



</xs:attribute>







Epic seems to like the schema, but won’t
let me enter an integer value for the attribute in the Modify Attributes dialog.
It shows a blank field (where it looks like I could type, but can’t) and
the keyword “all”. If I edit the tag as XML source and insert the
integer value, e.g., “13”, Epic doesn’t complain. If I do
the same thing but enter the value “21”, Epic reports an error.
So, it seems to be processing the schema correctly.








Can anyone tell me how I can input the
integer value using the Modify Attributes dialog?








Thanks,



Dave



1 REPLY 1



I was hoping maybe someone from Arbortext would at least
tell me if I need to open a (dreaded) PTC call.














<span<br/>style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:<font<br/>size=2 face=Tahoma>Sent: Friday, May 25, 2007 4:28 PM

To: adepters@arbortext.com

Subject: Epic schema bug?





<span<br/>style='font-size:12.0pt'>





Adepters:







We're using a schema in our
doctype in Arbortext Editor 5.2, patch M040. I've defined a
particular attribute to be a union of two simple types:







<xs:simpletype<br/>name="sizeByNumber">



<xs:restriction<br/>base="xs:positiveInteger">




<xs:mininclusive value="1"/">




<xs:maxinclusive value="20"/">




</xs:restriction>



</xs:simpletype>







<xs:simpletype<br/>name="pickAll">



<xs:restriction<br/>base="xs:string">



<xs:enumeration<br/>value="all"/>




</xs:restriction>



</xs:simpletype>







Used as:







<xs:attribute<br/>name="display" use="optional" default="all">




<xs:simpletype>




<xs:union membertypes="sizeByNumber" pickall&quot;="/>




</xs:simpletype>



</xs:attribute>







Epic seems to like the schema, but
won't let me enter an integer value for the attribute in the Modify
Attributes dialog. It shows a blank field (where it looks like I could
type, but can't) and the keyword "all". If I edit the
tag as XML source and insert the integer value, e.g., "13", Epic
doesn't complain. If I do the same thing but enter the value
"21", Epic reports an error. So, it seems to be processing
the schema correctly.







Can anyone tell me how I can input the
integer value using the Modify Attributes dialog?







Thanks,



Dave





<span<br/>style='font-size:12.0pt'>>> To unsubscribe from the list, send an email
to listmanager@maillist.arbortext.com
with the following in the body: unsubscribe adepters - For additional
information on the adepters list (how to subscribe or unsubscribe etc), send an
email to: listmanager@maillist.arbortext.com
with the following in the body: info Adepters - You may also go to
forums.arbortext.com, enter the Adepters folder and change your subscription
options and preferences.>>



Announcements