asmshaon / php-wsdl-creator

Automatically exported from code.google.com/p/php-wsdl-creator
GNU General Public License v3.0
0 stars 0 forks source link

Missing built-in datatypes #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Some standard built-in datatypes are missing so you can't use them...

What is the expected output? What do you see instead?
N/A

What version of the product are you using? On what operating system?
OS/System independent.

Please provide any additional information below.
Could you add the all the data types defined in: 
http://www.w3.org/TR/xmlschema-2/#built-in-datatypes

For your convenience I collected them here (just copy&paste to 
class.phpwsdl.php):

public static $BasicTypes=Array(
 'anyType',
 'anyURI',
 'base64Binary',
 'boolean',
 'byte',
 'date',
 'decimal',
 'double',
 'duration',
 'dateTime',
 'float',
 'gDay',
 'gMonthDay',
 'gYearMonth',
 'gYear',
 'hexBinary',
 'int',
 'integer',
 'long',
 'NOTATION',
 'number',
 'QName',
 'short',
 'string',
 'time',

 'nonNegativeInteger',
 'unsignedLong',
 'unsignedInt',
 'unsignedShort',
 'unsignedByte',
 'positiveInteger',
 'nonPositiveInteger',
 'negativeInteger',
 'normalizedString',
 'token',
 'language',
 'NMTOKEN',
 'Name',
 'NCName',
 'ID',
 'IDREF',
 'ENTITY'
);

Original issue reported on code.google.com by Jordi.A...@gmail.com on 24 Oct 2012 at 10:13