473,327 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Controls with XML Serialization and Schema Validation?

I am using a control that creates the inner HTML/XML inside their own ASP.NET
tag (e.g. <somelib:somecontrol />). VS.NET 2005 is telling me there is an
error that it cannot map these XML inside the tag to individual properties,
where the control itself just handles that with Xml serialization. This
caused warnings on pages in vs.net 2003, but now they are errors. The result?
I cannot use many 3rd party controls who all do this. Ideas on how to either
turn off schema validation for ASPX/ASCX files or to hint to the compiler
to ignore the inner xml? I don't own the source code, so I can't actually
change anything.

Thanks,
Shawn Wildermuth
Speaker, Author and C# MVP
Nov 19 '05 #1
3 1223
Hello,

It'd be great if you can provide the code snippet that can produce the
problem. For example, a simple web control with your code yo generate the
tag (<somelib:somecontrol />). I may test it on my side to see what is
going on.

Thanks,

Luke

Nov 19 '05 #2
Hello [MSFT],

It might take soem time to craft an example. I could craft one quick with
one of a number of 3rd party controls, but I am not sure what you guys on
the inside have access to.

Thanks,
Shawn Wildermuth
Speaker, Author and C# MVP
Hello,

It'd be great if you can provide the code snippet that can produce the
problem. For example, a simple web control with your code yo generate
the tag (<somelib:somecontrol />). I may test it on my side to see
what is going on.

Thanks,

Luke

Nov 19 '05 #3
Hello Shawn,

Thank you for the reply. If a third party control can be free download and
can reproduce the problem directly, please let me know. I may test it to
save your time.

thanks,

Luke

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jeff T. | last post by:
Hello, I have an existing set of C# classes that encapsulate our application data. They are in a heirachy with each subclass defining more specific types of data. I would like to serialize these...
0
by: RJN | last post by:
Hi My web service receives an object of type say MyObject. I want to serialize this object,and then validate the xml against the main xsd. When validation happens, it should also validate...
0
by: Alberto Grosso Nicolin | last post by:
We have the following XML schema: there's a root element (Response) with of a single child element (Result). ...
5
by: dickster | last post by:
Ok I have a class called Product ============================================== Code: Product.vb ============================================== Imports System.Xml.Serialization...
0
by: umhlali | last post by:
I get the following exception when my VB.NET app calls a Java web service that returns an array of objects. The same call works for a single object though. So looks like there is no problem...
0
by: RJN | last post by:
Hi The main schema includes one more schema and the actual types are described in the included schema. eg., <xs:schema xmlns:t="http://myschemas/base" xmlns=""> <xs:import...
0
by: RJN | last post by:
hi My web service receives an object of type say MyObject. I want to serialize this object,and then validate the xml against the main xsd. When validation happens, it should also validate...
8
by: Pavils Jurjans | last post by:
Hello, I have been developing an Ajax-style framework for couple of years now. Now I am reworking some parts of it. The problem was that I used to use JSON for JavaScript value...
4
by: Sjaakie | last post by:
Hi, I've read some articles on serialization, but I don't see how to serialize the xml-structure below (if it is possible at all). Could you point me in the right direction? TIA <?xml...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.