phpdox icon indicating copy to clipboard operation
phpdox copied to clipboard

please provide working xml schema for config.xml

Open ghost opened this issue 10 years ago • 1 comments

Please update the getting started doc so that it shows how to reference the xml schema, e.g.:

<?xml version="1.0" encoding="utf-8" ?>
<phpdox xmlns="http://xml.phpdox.net/config"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="../vendor/theseer/phpdox/schema/config.xsd"
>

I don't know enough about xml however to say whether the above would be ok. And afterwards eclipse complains: "Expecting no namespace, but the schema document has a target namespace of 'http://xml.phpdox.net/config'."

ghost avatar May 08 '15 07:05 ghost

Using a relative URI that only works when installed by composer is a bad idea. But I just tested the XSD and its missing some things that I added for 0.8.0. I'll try to address this issue over the weekend.

theseer avatar May 08 '15 08:05 theseer