07-27-04 01:52 AM
Hello
Can you post the schema and the document instance?
Thanks!
--
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
"BizTalker" <BizTalker@discussions.microsoft.com> wrote in message
news:F7233CA6-D393-4743-BDEF-07CAE5C7C01A@microsoft.com...
> I built a positional schema and when validating the instance, I am
receiving this error.
>
> Additional data in the document instance was not parsed. Make sure that
the document instance you want to validate contains only one document.
> The parser failed to convert the document due to processing errors. See
the following messages for details.
>
> The schema seems fine (generates no warning) and when I create a native
instance, it looks exactly like it meets my business requirements. Can
someone please help? I am pasting the instance and schema file here:
>
> Instance:
> 042904
T0
> 000018BRINKMAN/LINDA L 37N
P1
> 000018A011991012519910629
P2
> Schema:
> <?xml version="1.0"?>
> <!-- Generated by using BizTalk Editor on Wed, Jul 21 2004 01:53:13 PM -->
> <!-- Copyright (c) Microsoft Corporation. All rights reserved. -->
> <Schema name="ProviderFile" b:BizTalkServerEditorTool_Version="1.5"
b:root_reference="ProviderFile" b:def_record_delim="0xd" b:standard="CUSTOM"
xmlns="urn:schemas-microsoft-com:xml-data"
xmlns:b="urn:schemas-microsoft-com:BizTalkServer"
xmlns:d="urn:schemas-microsoft-com:datatypes">
> <b:SelectionFields/>
>
> <ElementType name="T0" content="empty" model="closed">
> <b:RecordInfo tag_name="T0" tag_position="79" structure="positional"
append_newline="yes" skip_CR="no"/>
> <AttributeType name="RecordType">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="Filler2">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="Filler">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="DateCreated">
> <b:FieldInfo/></AttributeType>
> <attribute type="Filler" required="no" b:posStart="1" b:posEnd="12"/>
> <attribute type="DateCreated" required="no" b:posStart="13"
b:posEnd="17"/>
> <attribute type="Filler2" required="no" b:posStart="18" b:posEnd="78"/>
> <attribute type="RecordType" required="no" b:posStart="79" b:posEnd="80"/>
> </ElementType><ElementType name="ProviderFile" content="eltOnly"
model="open">
> <b:RecordInfo structure="delimited" delimiter_type="inherit_record"
field_order="postfix" append_newline="yes" skip_CR="no"/>
> <element type="T0" maxOccurs="1" minOccurs="0"/>
> <element type="Provider" maxOccurs="*" minOccurs="0"/>
> </ElementType><ElementType name="Provider" content="eltOnly"
model="closed">
> <b:RecordInfo structure="delimited" delimiter_type="inherit_record"
field_order="infix" skip_CR="no"/>
> <element type="P1" maxOccurs="*" minOccurs="1"/>
> <element type="P2" maxOccurs="*" minOccurs="0"/>
> </ElementType><ElementType name="P2" content="empty" model="closed">
> <b:RecordInfo tag_name="P2" tag_position="79" structure="positional"/>
> <AttributeType name="ReplacementProviderID">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="RecordType">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="ProviderStatusType">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="ProviderStatus">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="ProviderID">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="Filler">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="EndDate">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="BeginDate">
> <b:FieldInfo/></AttributeType>
> <attribute type="ProviderID" required="no" b:posStart="1" b:posEnd="6"/>
> <attribute type="ProviderStatusType" required="no" b:posStart="7"
b:posEnd="7"/>
> <attribute type="ProviderStatus" required="no" b:posStart="8"
b:posEnd="9"/>
> <attribute type="BeginDate" required="no" b:posStart="10" b:posEnd="17"/>
> <attribute type="EndDate" required="no" b:posStart="18" b:posEnd="25"/>
> <attribute type="ReplacementProviderID" required="no" b:posStart="26"
b:posEnd="31"/>
> <attribute type="Filler" required="no" b:posStart="32" b:posEnd="78"/>
> <attribute type="RecordType" required="no" b:posStart="79" b:posEnd="80"/>
> </ElementType><ElementType name="P1" content="empty" model="closed">
> <b:RecordInfo tag_name="P1" tag_position="79" structure="positional"/>
> <AttributeType name="RecordType">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="ProviderType">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="ProviderName">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="ProviderID">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="IHSIndicator">
> <b:FieldInfo/></AttributeType>
> <AttributeType name="Filler">
> <b:FieldInfo/></AttributeType>
> <attribute type="ProviderID" required="yes" b:posStart="1" b:posEnd="6"/>
> <attribute type="ProviderName" required="no" b:posStart="7"
b:posEnd="31"/>
> <attribute type="ProviderType" required="no" b:posStart="32"
b:posEnd="33"/>
> <attribute type="IHSIndicator" required="no" b:posStart="34"
b:posEnd="34"/>
> <attribute type="Filler" required="no" b:posStart="35" b:posEnd="78"/>
> <attribute type="RecordType" required="no" b:posStart="79" b:posEnd="80"/>
> </ElementType></Schema>
>
>
>
>
> Thanks a lot!
>
[ Post a follow-up to this message ]
|