Good schema management makes XML work for you

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

Topics

W3C, XML, Oasis, Schema

All companies should determine what the corporate namespace is and how it should be maintained. Such a strategy should look at a number of specific points where XML schemas can cause problems. These include:
  • Industry compatibility: Any internal schema should be seen as a possible candidate for external Web services interchange once the intra-enterprise infrastructure has been established. For this reason, it is worth looking at the existing literature to see what the de facto standard is for that industry group. The advantage to this comes from the fact that the closer a company standard is to an existing global standard, the easier it will be to write code that will transform one to the other for B2B compatibility.
  • Modularisation: It is far better to create a schema from existing schema parts than it is to try to create entire schemas from scratch. Not only does this make it easier to maintain such schemas, but the schemas can also drive the modelling of programming class hierarchies, reducing the amount of custom code needed to manipulate the XML within applications.
  • Versioning: As a company evolves, so too do the requirements it places upon its schemas and other software. A schema manager is responsible for ensuring that different versions of a given schema don't create forks in a company's applications, a concern that's especially high in a distributed Web services environment.
  • Ease of validation: The buzzword acronym in XML circles right now is PSVI (post-schema-validation infosets). An infoset is an abstract representation of the XML contents, independent of the syntactical markup symbols. As an XML parser validates the XML data against its associated schema to ensure that all of the data is valid and the structure is sound, it can also convert the data internally to the datatypes specified in the schema. In essence, the resulting infoset has become a distinct binary object and can be manipulated in that fashion. Providing an efficient mechanism for ensuring that such schemas are readily accessible and consistent is another role that a schema manager will likely play, especially as PSVI data from Web services become the norm.
Skill set for an XSM A good schema manager is a person who is familiar with both the vertical industry schemas and the horizontal application schemas currently in use, and many also tend to be involved in standards development with one of the large trade organisations (such as OASIS or the W3C). Moreover, XML is most interesting when it is moving. A competent schema manager should:
  • Be familiar with Web services architectures in varying flavors (.Net, Java, and a whole host of others within the open source realm), SOAP, and WSDL.
  • Know about traditional databases to understand how the schema specifications within existing data stores can affect the XML schemas that will likely represent this data in transition.
  • Know such languages as XPath and XSLT.
An enterprise is only as effective as its information flow. As more of that information is expressed in the new language of computing (XML), the schema manager will become one of the most vital people in your organisation. Kurt Cagle is an author and writer specialising in Web technologies, open source, Java, and .Net programming issues. He is also the owner of Cagle Communications, a software development firm in Kirkland, WA, and produces a free e-newsletter (The Metaphorical Web
For a weekly round-up of the enterprise IT news, sign up for the Enterprise newsletter. Tell us what you think in the Enterprise Mailroom.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

bordero

ike fuelband is great for every healthminded person ! to work out! theres this website called textme4free.com that you can use to text anywhere in...

7 hours ago by bordero on Nike's FuelBand wristband gamifies exercise
BrownieBoy

> I'm told it's somewhat annoying when people have their Macs stolen > and Apple stores treat the thief as the owner, but there you go. Ouch,...

9 hours ago by BrownieBoy on AMD Ultrathins to challenge Intel Ultrabooks
Moley

@kevinmchapman. OK, I acknowledge that 'most' was a gratuitous throwaway comment as an afterthought and too presumptuous. As to proof, as you...

13 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
Jack Schofield

@BrownieBoy > Works really well for thieves.... >> Nice attempt to deflect the argument by tossing in a point that's totally >> irrelevant, even...

15 hours ago by Jack Schofield on AMD Ultrathins to challenge Intel Ultrabooks
raskolnikof

fantastic that the so called piracy bills have been withdrawn. however, these anti-democracy supporters are still in the shadows so lets be alert...

15 hours ago by raskolnikof on SOPA, Protect IP support wavers in face of online protest
Tony Douglas

Please God no; teach them anything you like - thinking rationally, the uses and misuses of data, what data is and what it's not - but leave the...

18 hours ago by Tony Douglas via Facebook on Kids are the future. Teach ’em to code.
BrownieBoy

@Jack, > Works really well for thieves.... Nice attempt to deflect the argument by tossing in a point that's totally irrelevant, even it were...

1 day ago by BrownieBoy on AMD Ultrathins to challenge Intel Ultrabooks
bootlegger

Make that 13 people now - I got refused today at Manchester airport. I thought I was up to date on this legislation - I knew of the EU ruling from...

1 day ago by bootlegger on UK airport body scans will not be opt out
tinycg

Don't forget to check out apps like GoodReader or SlideShark either, they're indispensible for people on the go in presentation situations. Best...

2 days ago by tinycg on Four top iPad apps for people on the move
TerryRK

Well it seems there is something a number of us agree on. Why is the Ubuntu Unity launcher so ugly? I thought perhaps it was something to do with...

2 days ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Freebies202

Duplicate comments are not made intentionally. Its very good to know that now you are keeping check on this problem because sometimes a commenter...

2 days ago by Freebies202 on Microsoft fixes blog comments, speeds up blogs with open source
kevinmchapman

"the very significant number of users" and "many (most) of us" - you have no evidence for these statements. It is a fact that most users are saying...

2 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
Marg Menzies Harrison

Another grammar faux pas is the improper use of "you". When sitting down down in a restaurant, for example, I get cringe when the waitress...

3 days ago by Marg Menzies Harrison via Facebook on 10 flagrant grammar mistakes that make you look stupid
zdnetukuser

And NOW, folks, for Canonical's next trick... Kubuntu is late. Here's a pencil. Draw your own conclusions. cf.:...

3 days ago by zdnetukuser on Linux Minterface
Moley

@kevinmchapman. The discussion here reflects the very significant number of users who really do like the traditional menu system and who wish to...

3 days ago by Moley on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

Er, no... It is an efficient means of finding the application/file/setting you need in one place. The icons are a simply a fallback for when you...

3 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

Isn't the provision of a text based search an admission by the developers that the mass of icons approach does not work? I don't need to use a...

3 days ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

"Unity and GNOME 3 both abandon the old text-based cascading menus in favour of a graphical icon-driven system." Point truly missed. Both use a...

3 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

whs001 - Thank you, I'm glad you liked the article. I absolutely agree with you on your first point. I should perhaps have made it clearer that...

3 days ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Dennis Nilsson

If we allow corporate interest to dictate the way our government circumvents due process against foreign entities then we should accept the same...

3 days ago by Dennis Nilsson via Facebook on ACTA stumbles in Germany