Revoked AAIP prescription to map reserved name start bytes into "user."
name space. (It made trouble with cyclic conversions.)
This commit is contained in:
parent
620547ac0a
commit
1b3f5186e7
@ -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"
|
||||
|
@ -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) {
|
||||
memmove(name + pl, name + 1, nl - 1);
|
||||
memcpy(name, prefix, pl);
|
||||
*name_fill= pl + nl - 1;
|
||||
|
Loading…
Reference in New Issue
Block a user