[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Can schema stand alone?


can schema
Hi all,

I'm pretty new to XML and have only been reading this list a few days, so
please forgive me if this seems like a really stupid question...

I am investigating XML as a data-transport solution for what are, in
essence, "sparse" databases.  One of my requirements is that the mechanism
used must be able to stand alone -- i.e. I have to be able to deliver an
ISO9660 CD and the XML on it would have to be complete in the absence of an
internet connection.  Often our data will be accessed over an intranet or
the internet, but we also must maintain the capability to operate in the
absence of both.

From what I've seen so far DTD would work perfectly, but I get the feeling
after reading this list and other sources that DTD is "on the skids" and
likely to become obsolete and that Schema is generally considered the future
-- if that is not correct, please let me know as I can quite happily
implement this in DTD!

I've been reading up on schemas and every example I've seen so far starts by
referencing the schema namespace at w3c.org (i.e. <xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema">).  Is this required for schemas
to operate?  If so, it seems to conflict with my requirement that the data
be complete and usable even without access to the internet.  (It also seems
that a lot of developers must be really sticking their necks out on
something that they have absolutely no control over, i.e. that W3C won't
change or move the namespace definition.  I used to do risk analysis for DOD
software development and this scenario would have had us passing out by the
numbers.)

Does the schema syntax stand alone in the absence of the xs namespace
reference?  I.e. would it be possible (and reasonable) to define my own
namespace (something like <myschema:schema
xmlns:myschema="my_local_file_reference">) and to NOT reference the xs
namespace at all?

Can you describe, in a nutshell, the perceived advantage that Schema has
over DTD?

Finally, if you could own only one reference on XML, suitable for
experienced software developers who are new to XML, what would it be?

Thanks,
John Atchley
Senior Software Analyst
Engineering and Design, Courseware Support
FlightSafety International, Inc.
mailto:John.Atchley@F...


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.