[phc-general] Bug: phc XML output does not validate according to schema

Conor McDermottroe lists at mcdermottroe.com
Sat Dec 30 04:11:08 CET 2006

How to reproduce:

$ tar xzf phc-0.1.7.tar.gz
$ cd phc-0.1.7
$ ./configure
$ make
$ cat ~/test.php
	print "Hello World!\n";
$ ./phc --dump-ast-xml ~/test.php > ~/test.xml
$ xmllint --schema generated/phc-1.0.xsd --noout ~/test.xml
Element '{http://www.phpcompiler.org/phc-1.0}Token_class_name': Missing
child element(s). Expected is (
{http://www.phpcompiler.org/phc-1.0}attrs ).
~/test.xml fails to validate


More information about the phc-general mailing list