jackalope/jackalope — Issue #74: Doctrine fixture conversion needs to include namespaces
Author: damz
Created: 2012-01-17 09:55:42+00:00
State: open

There are a couple of export tests failing on Doctrine DBAL because the custom namespaces are not properly exported:

```
PHPCR\Tests\Export\ExportRepositoryContentTest::testExportDocumentView
DOMDocument::loadXML(): Namespace prefix test on namespacedNode is not defined in Entity, line: 2

/projects/PHPCR/jackalope/tests/phpcr-api/tests/07_Export/ExportRepositoryContentTest.php:106
```

I traced that to the namespace prefix registrations not being in the database in the first place. Because the test fixtures are not going through a real import process, but are converted into PHPUnit DB fixtures by the `generate_doctrine_dbal_fixture.php` script, shall we just add support for namespaces in this script?

Damien