Changes

Jump to navigation Jump to search
21 bytes removed ,  11:07, 21 November 2017
no edit summary
=Conventions=
{{Mark|Updated with Version 9.0}}: All functions and errors in this module are assigned to the <code><nowiki>http://basex.org/modules/convert</nowiki></code> namespace, which is statically bound to the {{Code|convert}} prefix.<br/>All errors are assigned to the <code><nowiki>http://basex.org/errors</nowiki></code> namespace, which is statically bound to the {{Code|bxerr}} prefix.
=Strings=
|-
| '''Errors'''
|{{Error|BXCO0001string|#Errors}} The input is an invalid XML string, or the wrong encoding has been specified.<br/>{{Error|BXCO0002|#Errors}} The specified encoding is invalid or not supported.
|-
| '''Examples'''
|-
| '''Errors'''
|{{Error|BXCO0001binary|#Errors}} The input cannot be represented in the specified encoding.<br/>{{Error|BXCO0002encoding|#Errors}} The specified encoding is invalid or not supported.
|-
| '''Examples'''
|-
| '''Errors'''
|{{Error|BXCO0001binary|#Errors}} The input cannot be represented in the specified encoding.<br/>{{Error|BXCO0002encoding|#Errors}} The specified encoding is invalid or not supported.
|-
| '''Examples'''
|-
| '''Errors'''
|{{Error|BXCO0001binary|#Errors}} The input cannot be represented in the specified encoding.<br/>{{Error|BXCO0002|#Errors}} The specified encoding is invalid or not supported.
|}
|-
| '''Errors'''
|{{Error|BXCO0004base|#Errors}} The specified base is not in the range 2-36.
|-
| '''Examples'''
|-
| '''Errors'''
|{{Error|BXCO0004base|#Errors}} The specified base is not in the range 2-36.<br/>{{Error|BXCO0005integer|#Errors}} The specified digit is not valid for the given range.
|-
| '''Examples'''
=Errors=
 
{{Mark|Updated with Version 9.0}}:
{| class="wikitable" width="100%"
| Description
|-
|{{Code|BXCO0001string}}
|The input is an invalid XML string, or the wrong encoding has been specified.
|-
|{{Code|BXCO0002binary}}|The input cannot be converted to a binary representation.|-|{{Code|encoding}}
|The specified encoding is invalid or not supported.
|-
|{{Code|BXCO0003base}}
|The specified base is not in the range 2-36.
|-
|{{Code|BXCO0004}}|The specified encoding is invalid or not supported.|-|{{Code|BXCO0005integer}}
|The specified digit is not valid for the given range.
|}
* Added: [[#convert:bytes-to-integer|convert:bytes-to-integer]].
* Updated: [[#convert:bytes-to-base64|convert:bytes-to-base64]], [[#convert:bytes-to-hex|convert:bytes-to-hex]]: Argument type relaxed from {{Code|xs:byte}} to {{Code|xs:integer}}.
* Updated: error codes updates; errors now use the module namespace
;Version 8.5
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu