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

Whitespace in an attribute's value, out of context error

AC_1111AT9
3-Visitor

Whitespace in an attribute's value, out of context error

I am upgrading from Arbortext Editor 7 F000 to Arbortext Editor8.1.  In our schema we have many attributes defined with values that contain spaces.  In Arbortext 8.1, those values are not presented as options in the Editor.  And, when opening a xml document that has one of these attributes with a value containing a space, I get an "out of context" error.  Can you please advise on how to set these values to be valid??

 

Schema element, Attribute example:

<xsd:element name="DocumentType">

   <xsd:complexType>

        <xsd:attribute name="Type">

            <xsd:simpleType>

                <xsd:restriction base="xsd:string">

                    <xsd:enumeration value="Book"/>

                    <xsd:enumeration value="Conference Brief"/>

                    <xsd:enumeration value="Marketing Magazine/>

 

</xsd:restriction>

</xsd:simpleType>

</xsd:attribute>

</xsd:complexType>

</xsd:element>

0 REPLIES 0
Announcements