Revoked AAIP prescription to map reserved name start bytes into "user."

name space. (It made trouble with cyclic conversions.)
This commit is contained in:
Thomas Schmitt 2009-02-11 08:30:37 +01:00
parent 620547ac0a
commit 1b3f5186e7
2 changed files with 1 additions and 8 deletions

View File

@ -167,9 +167,6 @@ The reserved start bytes of names have the following meaning
0x03 namespace "user."
0x04 namespace "isofs."
0x05 to 0x1F shall not be used yet.
If encountered then they map to name space "user." and the name gets
prefixed "aaipXY_" with XY being two hex digits [0-9A-F] describing
the encountered short indicator value.
Examples:
Name "user.abc"

View File

@ -1592,11 +1592,7 @@ ex:;
name[0] == Aaip_namespace_useR ||
name[0] == Aaip_namespace_isofS) {
strcpy(prefix, Aaip_namespace_textS[(int) name[0]]);
} else {
sprintf(prefix, "user.aaip%2.2X_", (unsigned int) name[0]);
}
pl= strlen(prefix);
if(pl > 0) {
pl= strlen(prefix);
memmove(name + pl, name + 1, nl - 1);
memcpy(name, prefix, pl);
*name_fill= pl + nl - 1;