Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7625763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:14:05+00:00 2026-05-31T05:14:05+00:00

I have a type which is dynamically loaded. The variable part is read from

  • 0

I have a type which is dynamically loaded. The variable part is read from an xml field in db. E.g.

class SomeClass 
{
   public int Id {get; set;}
   public string Name {get; set;}
   public string Url {get; set;}
}

the name and url part are contructed by reading an xml section of

<element>
    <name>Name</name>
    <type>string</type>
</element>
<element>
    <name>Url</name>
    <type>string</type>
</element>

Later on the class would be dynamically loaded to:

class SomeClass 
{
   public int Id {get; set;}
   public string Name {get; set;}
   public string Url {get; set;}
   public string FallbackUrl {get; set;}
}

from

<element>
    <name>Name</name>
    <type>string</type>
</element>
<element>
    <name>Url</name>
<    type>string</type>
</element>
<element>
    <name>FallbackUrl</name>
    <type>string</type>
</element>

How is backward compatibility maintained?Meaning if I extend later on the class, how can I assure that when the newer version when deployed on older version dbs(which sometime may be the case) would not crash?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T05:14:06+00:00Added an answer on May 31, 2026 at 5:14 am

    Have a read:
    http://www.xfront.com/Versioning.pdf

    In particular (abstract):

    Consider two cases for changes to XML schemas:

    Case 1. The new schema changes the interpretation of some element. For example, a construct that was valid and meaningful for the previous schema does not validate against the new schema.

    Case 2. The new schema extends the namespace (e.g., by adding new elements), but does not invalidate previously valid documents.

    Some options for identifying a new a schema version are to:

    1. Change the (internal) schema version attribute.
    2. Create a schemaVersion attribute on the root element.
    3. Change the schema’s targetNamespace.
    4. Change the name/location of the schema.

    XML Schema Versioning Best Practices

    [1] Capture the schema version somewhere in the XML schema.

    [2] Identify in the instance document, what version/versions of the schema with which the instance is compatible.

    [3] Make previous versions of an XML schema available.

    [4] When an XML schema is only extended, (e.g., new elements, attributes, extensions to an enumerated list, etc.) one should strive to not invalidate existing instance documents

    [5] Where the new schema changes the interpretation of some element (e.g., a construct
    that was valid and meaningful for the previous schema does not validate against the
    new schema), one should change the target namespace.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All rows in a table have a type field which is either 0 or
I have a mysql table field set as time type which stores data in
I have an IList of type Breadcrumb which is just a lightweight class that
I have made a form which adds controls dynamically with user selecting the type
How to create a list dynamically from a class name (which is passed as
I have a type which I consider use it as struct. It represents single
I have a complex type defined which doesn't currently contain any minOccurs restrictions. When
I have an interface parametrized on a type which extends a parametrized type, and
I have the following in Drupal 6: A Master CCK type which contains a
I have 2 time values which have the type datetime.time . I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.