pibx icon indicating copy to clipboard operation
pibx copied to clipboard

Undefined Variable

Open caseybecking opened this issue 12 years ago • 3 comments

php CodeGen.php catalog.xsd PiBX - CodeGen Parsing schema file 'catalog.xsd' PHP Notice: Undefined variable: newPart in /Library/WebServer/Documents/pibx/PiBX/CodeGen/SchemaParser.php on line 152 PHP Stack trace: PHP 1. {main}() /Library/WebServer/Documents/pibx/CodeGen.php:0 PHP 2. PiBX_CodeGen->__construct() /Library/WebServer/Documents/pibx/CodeGen.php:47 PHP 3. PiBX_CodeGen_SchemaParser->parse() /Library/WebServer/Documents/pibx/PiBX/PiBX_CodeGen.php:64 PHP 4. PiBX_CodeGen_SchemaParser->parseSchemaNodes() /Library/WebServer/Documents/pibx/PiBX/CodeGen/SchemaParser.php:109 PHP Catchable fatal error: Argument 2 passed to PiBX_CodeGen_SchemaParser::parseSchemaNodes() must be an instance of PiBX_ParseTree_Tree, null given, called in /Library/WebServer/Documents/pibx/PiBX/CodeGen/SchemaParser.php on line 152 and defined in /Library/WebServer/Documents/pibx/PiBX/CodeGen/SchemaParser.php on line 122 PHP Stack trace: PHP 1. {main}() /Library/WebServer/Documents/pibx/CodeGen.php:0 PHP 2. PiBX_CodeGen->__construct() /Library/WebServer/Documents/pibx/CodeGen.php:47 PHP 3. PiBX_CodeGen_SchemaParser->parse() /Library/WebServer/Documents/pibx/PiBX/PiBX_CodeGen.php:64 PHP 4. PiBX_CodeGen_SchemaParser->parseSchemaNodes() /Library/WebServer/Documents/pibx/PiBX/CodeGen/SchemaParser.php:109 PHP 5. PiBX_CodeGen_SchemaParser->parseSchemaNodes() /Library/WebServer/Documents/pibx/PiBX/CodeGen/SchemaParser.php:152

caseybecking avatar Aug 29 '12 22:08 caseybecking

Same here.

thmelo avatar Mar 20 '13 14:03 thmelo

me too

paericksen avatar May 13 '13 20:05 paericksen

This error may be related to an xsd import element:

<xs:import namespace="urn:siemens:names:prov:gw:SPML:2:0" schemaLocation="prov-gw-spml-2.0.xsd"/>

paericksen avatar May 13 '13 21:05 paericksen