Sujet : Hoa XYL (Base)
Je ne sais pas si j'ai la dernière version de la doc mais j'ai de gros problème :
Je compile les fichiers xyl que tu as donné dans le manuel (cf : L'interface graphique)
La compilation marche bien mais quand je lance l'index.html j'obtiens l'erreur suivante :
Uncaught exception (Hoa\Xml\Exception): Hoa\Xml\Element\Concrete::__construct: (0) Cannot build the concrete tree because the abstract element
has no ranked concrete element. in C:\wamp\www\Hoa\Framework\Library\Xml\Element\Concrete.php at line 166.Après avoir vu les fichiers xyl pour la documentation Hoa j'ai essayé de générer le template suivant :
Balises.xyl
<?xml version="1.0" encoding="utf-8"?>
<definition xmlns="http://hoa-project.net/xyl/xylophone">
<yield name="litc">
<h1>Life in the cloud</h1>
</yield>
</definition>Index.xyl
<?xml version="1.0" encoding="utf-8"?>
<?xyl-use href="Balises.xyl"?>
<document xmlns="http://hoa-project.net/xyl/xylophone">
<title>Minefield test</title>
<litc />
</document>mais après compilation j'obtient le même code erreur :
Uncaught exception (Hoa\Xml\Exception): Hoa\Xml\Element\Concrete::__construct: (0) Cannot build the concrete tree because the abstract elementet aussi (mais en h1)
has no ranked concrete element. in C:\wamp\www\Hoa\Framework\Library\Xml\Element\Concrete.php at line 166.