Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined Variable #3

Open
caseybecking opened this issue Aug 29, 2012 · 3 comments
Open

Undefined Variable #3

caseybecking opened this issue Aug 29, 2012 · 3 comments

Comments

@caseybecking
Copy link

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

@thmelo
Copy link

thmelo commented Mar 20, 2013

Same here.

@paericksen
Copy link

me too

@paericksen
Copy link

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"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants