A Message Board, Guestbook, or Poll hosted for your website.
exchange network message board

Register Login New Posts Chat
Exchange Network > Forums > Microsoft .NET Users > .NET and Cameleon Namespaces
 
Username:
Password:
 

Thread Tools  | Search This Thread 
Reply
 
Author Comment
 
atent
Registered: 05/17/05
Posts: 9

    09/15/06 at 08:26 AM
Reply with quote#1

It has been reported that the .NET framework v1.1 does not support validating instance documents build with cameleon namespaces as allowed by the EN.  This does not affect the instance documents which validate with other parsers, just in a situation where you're using .NET parsing.  Microsoft offers a work around but it isn't pretty. 

 

This is a general alert, details to follow. 

yzhang
Registered: 05/15/06
Posts: 3

    09/21/06 at 01:26 PM
Reply with quote#2

Yes. Microsoft provided some technical details at:

 

   http://support.microsoft.com/kb/317611

 

The issue has potential impact to Network Nodes that meet all the following conditions:

 

1. The node is based on the .NET 1.1 platforms.

2. The node performs document validations using the .NET XmlValidatingReader.

3. The node supports new dataflows that use the Shared Schema Component 2.0.

 

We believe that only a few nodes may fail into this category. But if your node does, you may either:

 

1. Upgrade to .NET 2.0 and use XmlTextReader with XmlReaderSettings for XML schema validations.

2. Temporarily disable validation of document for the dataflow that uses SCC 2.0 .

3. Uses the Exchange Network QA server (https://tools.epacdxnode.net) and services for XML validation.

 

to get around the chameleon namespace issue.

 

Thanks,

 

Yunhao

 

smith
Registered: 05/01/07
Posts: 2

    05/01/07 at 08:38 AM
Reply with quote#3

As I know, implementation of XSD schema-validation support in the .NET framework does not convert the targerNamespace of the local referencing type of an included XSD.


__________________
software reviews
jess
Registered: 11/04/07
Posts: 2

    11/06/07 at 11:27 AM
Reply with quote#4

yzhang, thanks for reply, it helped me
__________________
Jessica Weldon, software reviews manager
Previous Thread | Next Thread
Reply

 
Bookmarks
 
Digg Diggdel.icio.us del.icio.usStumbleUpon StumbleUponGoogle Google