aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-05-25 10:06:54 +0200
committerBjörn Gustavsson <[email protected]>2015-05-25 10:06:54 +0200
commitca868041729863845f71b6abadc079c414c18168 (patch)
tree70534d8ac8ebdc4b32c7f9650b0ea42433417fd7
parent5dda888b76446a5f9c1a114af2d84600e70e334b (diff)
parentb1523a416b98808407a8dc8f063d072fdb67e2fa (diff)
downloadotp-ca868041729863845f71b6abadc079c414c18168.tar.gz
otp-ca868041729863845f71b6abadc079c414c18168.tar.bz2
otp-ca868041729863845f71b6abadc079c414c18168.zip
Merge branch 'bjorn/asn1/doc/OTP-12765'
* bjorn/asn1/doc/OTP-12765: asn1 doc: Alert users of limitations in test and value functions
-rw-r--r--lib/asn1/doc/src/asn1ct.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/asn1/doc/src/asn1ct.xml b/lib/asn1/doc/src/asn1ct.xml
index 4e0bf055fc..30808a5ead 100644
--- a/lib/asn1/doc/src/asn1ct.xml
+++ b/lib/asn1/doc/src/asn1ct.xml
@@ -371,6 +371,15 @@ File3.asn</pre>
representation of a value of the <c>ASN.1</c> type <c>Type</c>. The value
is a random value and subsequent calls to this function will for most
types return different values.</p>
+ <note>
+ <p>Currently, the <c>value</c> function has many limitations.
+ Essentially, it will mostly work for old specifications based
+ on the 1997 standard for ASN.1, but not for most modern-style
+ applications. Another limitation is that the <c>value</c> function
+ may not work if options that change code generations strategies
+ such as the options <c>macro_name_prefix</c> and
+ <c>record_name_prefix</c> have been used.</p>
+ </note>
</desc>
</func>
@@ -391,6 +400,15 @@ File3.asn</pre>
This function is useful during test to secure that the generated
encode and decode functions as well as the general runtime support
work as expected.</p>
+ <note>
+ <p>Currently, the <c>test</c> functions have many limitations.
+ Essentially, they will mostly work for old specifications based
+ on the 1997 standard for ASN.1, but not for most modern-style
+ applications. Another limitation is that the <c>test</c> functions
+ may not work if options that change code generations strategies
+ such as the options <c>macro_name_prefix</c> and
+ <c>record_name_prefix</c> have been used.</p>
+ </note>
<list type="bulleted">
<item>
<p><c>test/1</c> iterates over all types in <c>Module</c>.</p>