| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: platform specific |
From: Ellen K. Use the rule that depended on the additional attribute to make a business decision. It was a rental-car scenario and the additional attribute was whether the prospective renter had had a driver's license for at least a year; if not the requested reservation was supposed to be denied. In real life if that is your business rule, it needs to be applied to all prospective rentals. On Thu, 26 May 2005 12:40:34 +0100, Adam wrote in message : >Ellen K. wrote: > >> I'm not talking about order, I'm talking about adding an attribute that >> doesn't exist EXCEPT in the XSD and associated XML document(s). In >> other words, the class in the Business Object Model has 5 properties, >> but they instructed us to add a 6th attribute to the corresponding >> element in the XSD... and then we were instructed to create a rule that >> depended on that 6th attribute and use it to process the XML data. >> > >Process it in terms of business data or processing intsructions? > >> Just to be perfectly clear, I am not talking about adding a second >> instance of one of the existing attributes, I am talking about a whole >> new attribute. >> > >So was I. For a laugh you might add an attribute & call it "order" or >"orderSeqenceNum" > >Adam > >> On Wed, 25 May 2005 14:21:37 +0100, Adam >> wrote in message : >> >> >>>Ellen K wrote: >>> >>> >>>>Yeah, well the interesting part is that programmers don't have a clue about >>>>data modeling and consider the database a necessary evil because "It's >>>>so hard to use it with objects." >>>> >>>>In our ILOG training, when we got to the part about using XML, they had us ADD >>>>AN ATTRIBUTE IN THE XSD THAT WAS NOT PART OF THE BUSINESS OBJECT MODEL, then >>>>process the XML data using a rule that used that attribute. Like, either the >>>>business needs that rule or they don't, if they need it, the attribute belongs >>>>in the BOM. >>>> >>> >>>Depends... >>> >>>e.g. XML elements have no order unless specified as a sequence & then if >>>you have 1..n of the same element again you have no order. >>> >>>It may be necessary to enforce element order. However this is a purely >>>xml problem & thus can be happily kept at the xml level. >>> >>> >>>Adam >> >> --- BBBS/NT v4.01 Flag-5* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45) SEEN-BY: 633/267 270 5030/786 @PATH: 379/45 1 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.