Bottle of wine...in Amsterdam...Sooooooure :-)
I think using ascii values is a great idea.
I'll stick it in the design guide.
Emmanuel Lecharny wrote:
when I woke up this morning, under my shower, I had the idea I missed
yesturday evening due to the bottle of wine I drunk ... - : why don't
you use the ascii value of each character to code your OID, postfixing
your PEN ? Something like :
will be transformed to :
184.108.40.206.4.1.18060.0.4.X.2 (the prefix, where X is a number)
.220.127.116.11. ... (111 = 'o', 114='r', 103='g', 46 = '.', etc)
you will have very long OIDs, but this is not really a problem, and thy
will be unique worldwilde because the prefix is assigned to your
company, and you will have to manage the suffix (it's up to you to use
On 4/5/07, *David Jencks* <david_jencks@xxxxxxxxx
I would prefer to see a solution that mapped java objects to existing
schemas, and perhaps has a way to generate schemas with oids, but it
seems to me that autogeneration of something that is supposed to be
worldwide unique and meaningful may cause more difficulties than it
The worldwide OID will be enforced through the prefix (and management in
the project :)
For instance you'd need a way to reserve a unique PEN for each
installation on which you wanted to run this stuff.
That's very true. But if you use ADS in a company, then this company
should have a PEN (at least in theory: as there are only 28389
attributed PEN as of today ...).
dunno, I'm kinda a beginner.
you should be kidding ;)