|
Home > Archive > BizTalk Server > March 2004 > document definition error
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 |
document definition error
|
|
| Norbert 2004-02-22, 7:34 pm |
| Hi,
I'm trying to get data from a XML file into a database
using the biztalk adapter for SQL. I created the a
document definition which validates ok. It's an insert
statement so the before node is empty. To make sure the
before node is in the XML file you have to use a
attribute emptycontent, which can hold any value.
When I run the flow I get this error:
[0x015e] The XML document has failed validation for the
following reason:
The attribute 'emptycontent' on this element is not
defined in the DTD/Schema.
It is defined, it validates in the biztalk editor and
mapper.
Anyone an idea....?
Thanks,
Norbert
| |
| R.Balaji 2004-02-22, 11:34 pm |
| Hi,
When you update your schema, you have to move the updated version to the
webdav folder.
Also you need to update your document definitions, envelopes and channels
which uses your schema.
Otherwise the biztalk server will refer to the older version of your schema
and might throw the document validation error during parsing.
Regards,
R.Balaji
"Norbert" <bryson@maxcredible.com> wrote in message
news:14f1901c3f9e7$2c859760$a501280a@phx
.gbl...
> Hi,
>
> I'm trying to get data from a XML file into a database
> using the biztalk adapter for SQL. I created the a
> document definition which validates ok. It's an insert
> statement so the before node is empty. To make sure the
> before node is in the XML file you have to use a
> attribute emptycontent, which can hold any value.
> When I run the flow I get this error:
> [0x015e] The XML document has failed validation for the
> following reason:
> The attribute 'emptycontent' on this element is not
> defined in the DTD/Schema.
>
> It is defined, it validates in the biztalk editor and
> mapper.
> Anyone an idea....?
> Thanks,
>
> Norbert
| |
|
| I have done this and it still gives this error.
>-----Original Message-----
>Hi,
>When you update your schema, you have to move the
updated version to the
>webdav folder.
>Also you need to update your document definitions,
envelopes and channels
>which uses your schema.
>
>Otherwise the biztalk server will refer to the older
version of your schema
>and might throw the document validation error during
parsing.
>
>Regards,
>R.Balaji
>
>"Norbert" <bryson@maxcredible.com> wrote in message
> news:14f1901c3f9e7$2c859760$a501280a@phx
.gbl...
the[color=blue]
>
>
>.
>
| |
| Jan Eliasen 2004-03-18, 1:59 pm |
| On Mon, 23 Feb 2004 06:56:58 -0800,
<anonymous@discussions.microsoft.com> wrote:
Try not to use the emptycontent-attribute at all. You can also just
have a custom scripting functoid that returns true that connects to
the "before"-element in the output.
[color=darkred]
>I have done this and it still gives this error.
>
>updated version to the
>envelopes and channels
>version of your schema
>parsing.
>the
--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server
|
|
|
|
|