The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Too many hierarchies

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Too many hierarchies Posted: Oct 15, 2003 6:43 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Too many hierarchies
Feed Title: Michael Lucas-Smith
Feed URL: http://www.michaellucassmith.com/site.atom
Feed Description: Smalltalk and my misinterpretations of life
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Michael Lucas-Smith

Advertisement

Well, I have to say I feel only a little annoyed at myself for letting such a bug in to my system. What bug you say? Well, it's in the dynamic XML code that I was describing a few posts ago.

Let me just set the field of play for you. We have the original webpage's XML hierarchy. Then we have that pages XSL transformed version's hierarchy. Then we have the view node's on top of that's hierarchy. Then on top of that we have hte layout node's hierarhy.

Let's make this a little worse. A user does an action that changes the original XML hierarchy, which creates a new transformed version with its own hierarchy. At this point, I had to post initialize some of my nodes. Which hierarchy?!

  1. Original DOM tree
  2. Transformed DOM tree
  3. New Transformed DOM tree
  4. View Node's tree
  5. Layout Node's tree

If you picked New Transformed DOM tree, then you'd be wrong. If you picked Transformed DOM tree, then you just did my bug :). If you picked View Node's tree, then you get a gold star!

Read: Too many hierarchies

Topic: Re: RE: File Access in EJB Previous Topic   Next Topic Topic: Think your job stinks?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use