|
Home > Archive > BizTalk Server Orchestration > October 2005 > How to process incomming XML with inline schema
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 |
How to process incomming XML with inline schema
|
|
| UlrichLandbo 2005-10-24, 10:31 am |
| I have an orchestration in BizTalk 2004 where i receive a XML document that
contains a inline schema. The inline schema is for future purposes, so i
can't just remove it, but how to define a schema that will allow XML with
inline schema?
--
Best regards,
Ulrich, Denmark
| |
| Lakshmi Murthy 2005-10-26, 2:48 am |
| Hi,
Check the below link on how to process inline schemas
http://msdn.microsoft.com/XML/Build...ml/inlschma.asp
Note the following:
1) Inline schemas with no targetNamespace defined do not take their parent
element's namespace.
2) You cannot have elements appear in the document prior to the inline
schema that defines their namespace. This will be reported as an error.
You can validate inline schema as shown in the link below:
http://msdn.microsoft.com/library/d...neXSDSchema.asp
Use Expression shape in the orchestration and use the XmlValidationReader.
HTH
Lakshmi
"UlrichLandbo" wrote:
> I have an orchestration in BizTalk 2004 where i receive a XML document that
> contains a inline schema. The inline schema is for future purposes, so i
> can't just remove it, but how to define a schema that will allow XML with
> inline schema?
> --
> Best regards,
> Ulrich, Denmark
| |
| Marvin Smit 2005-10-26, 7:48 am |
| Hi,
you could use the "xsd:any namespace='xxxxxxxx' processContent='skip'"
construct. This allows for "any XML from the xxxxxx namespace" without
actually validating the content of it.
Hope this helps,
Marvin Smit.
On Wed, 19 Oct 2005 01:38:08 -0700, UlrichLandbo
<ulrichlandbo@hotmail.com> wrote:
>I have an orchestration in BizTalk 2004 where i receive a XML document that
>contains a inline schema. The inline schema is for future purposes, so i
>can't just remove it, but how to define a schema that will allow XML with
>inline schema?
|
|
|
|
|