|
Home > Archive > BizTalk Server Orchestration > March 2006 > The element has incomplete content.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
The element has incomplete content.
|
|
| Daniel 2006-03-17, 5:52 pm |
| Hi, in my Flat File Schema,
i have a Group1 with minOccurs = 10 and maxOccurs = 10.
When i generate Instance on native mode, the file is generate correctly -
the Group is repeated 10 times - , but,
when i test the map i receive the error "incomplete content".
this happens because i only have 1 occurs of Group1.
if the map use minOccurs and maxOccurs, in the same way that
"Generate Instace" uses, I believe that I can resolve the problem.
Somebody knows how can i do this ?
| |
| Alan Smith 2006-03-21, 3:09 am |
| Hi,
When you generate your instance, save it to a location in your project
structure (it's good to create a TestMessages folder for this). You can then
open the properties dialog for your map (right click from the Solution
Explorer), and change the test map instance from Generate Instance to Native,
and select the saved flat file as the input instance for testing the map. You
can then test against the generated instance.
It's also good to test the map agianst some sample flat file documents that
you will be processing to double check the map works correctly.
Regards,
Alan
--
The Bloggers Guide to BizTalk
http://geekswithblogs.com/asmith
"Daniel" wrote:
> Hi, in my Flat File Schema,
> i have a Group1 with minOccurs = 10 and maxOccurs = 10.
> When i generate Instance on native mode, the file is generate correctly -
> the Group is repeated 10 times - , but,
> when i test the map i receive the error "incomplete content".
> this happens because i only have 1 occurs of Group1.
>
> if the map use minOccurs and maxOccurs, in the same way that
> "Generate Instace" uses, I believe that I can resolve the problem.
>
> Somebody knows how can i do this ?
| |
| Daniel 2006-03-21, 3:09 am |
| Thanks for your reply.
I already made this.
The problem is minOccurs and maxOccurs.The file generated by the map is not
creating with the minimum number of repetitions
Regards
Daniel
"Alan Smith" wrote:
[vbcol=seagreen]
> Hi,
>
> When you generate your instance, save it to a location in your project
> structure (it's good to create a TestMessages folder for this). You can then
> open the properties dialog for your map (right click from the Solution
> Explorer), and change the test map instance from Generate Instance to Native,
> and select the saved flat file as the input instance for testing the map. You
> can then test against the generated instance.
>
> It's also good to test the map agianst some sample flat file documents that
> you will be processing to double check the map works correctly.
>
> Regards,
>
> Alan
>
> --
> The Bloggers Guide to BizTalk
> http://geekswithblogs.com/asmith
>
>
>
> "Daniel" wrote:
>
|
|
|
|
|