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

Re: PSVI

  • From: Justin Couch <justin@v...>
  • To: xml-dev@l...
  • Date: Sat, 03 Mar 2001 07:19:42 +1100

psvi java
"HUGHES,MARK (Non-HP-FtCollins,ex1)" wrote:

> You can gain additional, secondary,
> information by processing a schema for an XML document, but the document
> contains perfectly usable and complete information if all you want are
> nested
> elements (often without attributes), and text nodes, and you can trust your
> software to produce valid documents (this is what software testing is
> for...)

Well, I'd like to present the opposite case, just to keep the
discussions spicy :)

In X3D, almost every attribute has a default value. We need a lot of
this default information. Depending on which profile is selected, the
defaults change or we have new sets of attributes (err... yuck!). We
really need the DTD or schema to be processed along with our document to
build all of the correct element information for rendering. We can't
just rely on having the software produce correct values for us.  Even
with a non-validating parser, we need this information from somewhere.
Having the user-land code assume that it knows the default values
doesn't really make life particularly easy for us for consistent
behaviours. So we're a case of must have DTD and/or Schema even when we
don't need them as per spec.

-- 
Justin Couch                                    Author, Java Hacker
http://www.vlc.com.au/~justin/               Java 3D FAQ Maintainer
http://www.j3d.org/              J3D.org The Java 3D Community Site
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                              - Greg Bear, Slant
-------------------------------------------------------------------

  • Follow-Ups:
    • Re: PSVI
      • From: Sean McGrath <sean@d...>
  • References:
    • RE: PSVI
      • From: "HUGHES,MARK (Non-HP-FtCollins,ex1)" <mark_hughes@n...>

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.