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

Re: Objections to / uses of PSVI?


Re:  Objections to / uses of PSVI?
5/14/2002 6:46:24 PM, Ronald Bourret <rpbourret@r...> wrote:

>
>
>1) Additional data values (defaults). Since this already exists with
>DTDs, it seems any controversy here should have existed before the PSVI
>came to being.

Lots of things "just work" in the SGML world where the DTD is 
necessary and the parser does everything.  Things get much messier
in the world of multiple parsers with different levels of DTD
support, and where SAX and DOM "pipelines" are operating rather than
one parser doing everything.

Default attribute values are a ugly mess in the DOM even with
DTDs, and introduce almost undecideable behavior when schemas
are put into the picture (because of the lack of a standard
processing model). My favorite scenario is that deleteing an attribute
that has a default value -- according to DOM Level 1, but not
consistently implemented -- should cause it to magically pop 
back into existence.  The effects of this on the DOM event model
are not obvious -- is there a delete event?  A delete event and a
create event?  A modify event, if the value changed?
If the attribute already had the default value,
nothing has really changed, should the event(s) fire? Us "experts"
can deconstruct the specs and logically figure out what should happen,
but I'm sure that the poor bastards who stay up
all night debugging their scripts and ultimately RTFM and figure this
out will be looking for someone to blame.  Hmm, maybe
that's why I'm on every spam list on the planet, "poor bastards
who stayed up all night" wrestling with the DOM getting their revenge 
by signing me up :~)  


The sanest solution is to stay as far as possible from PSVI-ish things.
 

>
>2) Type information. My guess is that this is where the greatest
>controversy / utility is. On the utility side, it means you can do
>type-aware programming. On the controversy side, it means you can do
>type-aware programming :)

That says it all :~) 





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.