473,395 Members | 1,474 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,395 software developers and data experts.

Is XSD schema flexible?

I am desiging validation method for our application. The application stores
configuration and other data in the XML file. I want each time app opens XML
file to validate the file against scheme.

The XML file will definitely change in the future, so the validation scheme
should address the cases when old app opens new file and vice verse new app
opens old file. Obviously some data might be missing or new data might be
present which schema doesn't recognize.

I wonder whether XSD schema offers that kind of flexibility and whether I am
going in the right direction? Should I use XSD schema validation at all? Are
there other approaches to validate the XML file for the cases I described
above?

Thanks in advance
Nov 12 '05 #1
1 1189
Hi Dale

There's a good article on XML.com at the moment that describes exactly this
situation. Try this URL:

http://www.xml.com/pub/a/2004/10/27/extend.html

HTH

Nigel Armstrong
"Dale" wrote:
I am desiging validation method for our application. The application stores
configuration and other data in the XML file. I want each time app opens XML
file to validate the file against scheme.

The XML file will definitely change in the future, so the validation scheme
should address the cases when old app opens new file and vice verse new app
opens old file. Obviously some data might be missing or new data might be
present which schema doesn't recognize.

I wonder whether XSD schema offers that kind of flexibility and whether I am
going in the right direction? Should I use XSD schema validation at all? Are
there other approaches to validate the XML file for the cases I described
above?

Thanks in advance

Nov 12 '05 #2

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

Similar topics

0
by: Martin Krzywinski | last post by:
Schemaball v0.01 http://mkweb.bcgsc.ca/schemaball/ Schemaball is a MySQL database schema viewer and requires Perl and the GD and Math::Bezier modules. Schemaball creates highly flexible but...
1
by: James Autry | last post by:
What is the best way to handle schema changes as database needs change. What I need to find out is what is the best way to write database interface code in order to be flexible to schema changes. ...
5
by: dave71 | last post by:
Hi Could someone please advise me how to remove the schema name from linked tables within Access. For example when I connect to a Oracle database via Microsoft ODCB for Oracle the list of...
2
by: Ian | last post by:
I've inherited some xml that doesn't have a namespace and doesn't have a reference to the schema. The schema doesn't have a targetNamespace attribute. I'm trying to build a test tool, in C#, which...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.