Design

The specific method calls for validating instance documents against schemas comprise an area beyond the scope of the current W3C Recommendations. So, we won't find many design issues in common between our Java and C++ implementations. However, there are a few.

The first issue is to decide where to put the schema files. We have a few options.

  • Host them on the Internet at Addison-Wesley's Web site: Probably okay, but that site isn't really set up for this kind of thing (nor is it meant to be). In addition, there are some problems with putting things on the Internet. You have to have a network connection up and running, which might not always be the case for someone using a dial-up service. Files on the Internet require a different base URL ...

Get Using XML with Legacy Business Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.