Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

importing xsd problems

Avatar

Not applicable

I'm  using two xsd.

The first one is like  a dictionory the second one form specific.

In the form specific xsd  I use restriction from the dictionary

for eg: dictionary.xsd is like this

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.example.org/Base"
targetNamespace="http://www.example.org/Base"
elementFormDefault="unqualified">

<xs:element name="A" type="AType" />
<xs:complexType name="AType">
<xs:sequence>
<xs:element name="title" type="xs:string" />
<xs:element name="name" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:schema>

form.xsd is

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.example.org/Restriction"
targetNamespace="http://www.example.org/Restriction"
xmlns:base="http://www.example.org/Base"
elementFormDefault="unqualified">

<xs:import namespace="http://www.example.org/Base"
schemaLocation="dictionary.xsd" />

<xs:element name="ARestricted" type="ARestrictedType" />
<xs:complexType name="ARestrictedType">
<xs:complexContent>
<xs:restriction base="base:AType">
<xs:sequence>
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:schema>

when i import this into livecyle  I'm expecting to see only restricted elements but i see all the elements from dictionary.

Here in this case I want to see in dataview only "name", but i see both "title" and "name"

In my actual forms "dictionary xsd" is so big which makes my livecycle designe very slow.

As a result i get this error message, if i remove some of the elements then livecycle can import.

26223_livecycleproblem.JPGlivecycleproblem.JPG

Can somebody help me please.

0 Replies