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

RE: Questions on DCD

  • From: Dean Roddey <roddey@u...>
  • To: <xml-dev@i...>
  • Date: Mon, 5 Oct 1998 13:28:33 -0400

RE: Questions on DCD
"One downside is that the DTD can't validate the constraints formulation
(unless you have a custom constraint that checks constraints, but that
is pretty circular).  Schema authors are a fairly rarified bunch, so I
wouldn't be enormously concerned about a few extra keystrokes (we will
program our editors to do it for us, or when we finally get useful
DTD-aware editors, it would auto-complete the elements for us).  I would
think the parser authors would bypass DOM creation so I don't see DOM
space as being a huge issue."

But the same verbosity is imposed upon the user of the validation scheme
as well, right?

As for sciping the DOM creation, I don't think you could, could you?
Because of the open ended nature of the validation mechanism, if it was
done as an element and its subcontent, there could be a lot of information
in there that only the target validation function would understand how to
make use of. How would you get that information to the function if you
didn't either use my scheme of giving him an open ended string that he
can parse, or building some known format (i.e. a DOM node) to pass to it?

I dunno. In some ways you win and lose either way. Given the very open
endedness of the scheme, I'd prefer the single formula style. But that's
just my opinion, and I'm looking at it from a user's point of view not
a machine's. From a machine's point of view, the element scheme would
probably be more useful.

"One thing that we are doing is adding an documentation fragments to that
we can process DCD and generate HTMLHelp manuals for the schemas we are
developing.  Doing constraints as XML elements, would give us somewhere
to explain the constraints."

That's a good point.

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
roddey@u...

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.