[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: COMPLEXITY BIG ISSUE
And exactly what language will these tags be written in? Is this not a global standard we are working on? I believe numeric codes should be used. We gain little by writing the tags in English. Applications can translate the numeric values into the user's native language. Plus numeric tags will be smaller for transport. This language is for computers to read, XML will enable end-to-end communication between machines, not necessarily humans. Leave the Human readability to the applications. IMHO, Troy chris.ferris@east.sun.com on 8Mar2000 08:43 AM To: david.burdett@commerceone.com@INTERNET cc: ebXML-Transport@lists.oasis-open.org@INTERNET ebXML-Architecture@lists.oasis-open.org@INTERNET (bcc: Troy R. Lowe/0A/Caterpillar) Subject: Re: COMPLEXITY BIG ISSUE Retain Until: 04/07/2000 Retention Category: G90 - Information and Reports Caterpillar Confidential: Green David, I also favor camel case versus ALLCAPS for readability. However, I think that we should avoid abbreviations as they aren't as easily recognised in non-english speaking domains. If the aim of abbreviation is to keep the document size smaller, compression or tag substitution is a better approach. Yes, performance may indeed become an issue, but let's not design in optimzations until we know that they are required. According to Moore's Law, processor speeds will have doubled by the time the ebXML specifications are deployed and it is also likely that XML parser performance optimizations will have improved performance to the point that resorting to abbreviated or encoded tag names will have been a waste of time. Cheers, Chris David Burdett wrote: > Duane > > Some thoughts below marked with ## > > David > > -----Original Message----- > From: Duane Nickull [mailto:duane@xmlglobal.com] > Sent: Tuesday, March 07, 2000 11:50 AM > To: David Burdett; 'ebXML Transport' > Cc: 'ebXML Architecture' > Subject: RE: COMPLEXITY BIG ISSUE > > <DAVIDB> > I think therefore that the software library approach is the more likely. > However this doesn't mean that we can therefore make the spec arbitrarily > complex. We must still aim for simplicity for all the reasons you state. > </DAVIDB> > > I totally agree with the simplicity. > > One thing I haven't seen discussed is the actual XML processing overhead. > We have worked on parsing XML for two years and the experiences have taught > us that forming "efficient" XML is probably one of the most important > considerations for optimizing systems. > > An XML message with <tag><tag><tag> "250kb garbage" </tag></tag></tag> will > take heaps o' memory and time to load into the DOM and not give you much of > an advantage over text, yet many people write their XML this way. > ## Another way you can optimize this is by building into the Message > Manifest or wrapper of non-XML data, information about what is inside the > "BLOB". This way, you can determine how to process the data. For example in > the example you describe, a SAX approach would probably be faster than a > DOM.## > > Also, > the overuse of attributes can slow incoming parser and handling routines. A > shallow, self describing XML message is ideal. > > I also believe that mixed camel case will be the best syntax for element > naming conventions. IT is more intuitively readable than all lower or all > CAPS. > ##This is my personal view too.## > Names should be kep short for optimizing procesor overhead and > reducing message.length() > ##Double edged this, my view is to have a guideline that says, say: > 1. Names that are less than 20 characters (say) should use the unabbreviated > name > 2. Names that are more than 20 characters **should** be abbreviated > according to an abbreviation rule, for example omitting all vowels and > repeating letters. This would mean that <MessageHeader> would be become > <MsgHdr>. > > Somewhere I've got a a proposal along these lines for naming database fields > that I developed for an oil company in the 80s## > > The GoXML XML Search Engine currently has around 125,000 XML documents > indexed so we see many examples on a daily basis. > > I will share the experiences of our company to the message architecture > group (if needed). Rik, David et al are very knowledgable and have probably > already thought this through. > > Duane Nickull > XML GLobal
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC