Skip to content

moved XSD to HTTPS - Part 2 #11296

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

Merged
merged 1 commit into from
Apr 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bundles/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ as integration of other related components:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<framework:config>
<framework:form/>
Expand Down Expand Up @@ -418,7 +418,7 @@ can place it anywhere you like. You should return this path as the base path::
}

Assuming the XSD file is called ``hello-1.0.xsd``, the schema location will be
``http://acme_company.com/schema/dic/hello/hello-1.0.xsd``:
``https://acme_company.com/schema/dic/hello/hello-1.0.xsd``:

.. code-block:: xml

Expand All @@ -428,7 +428,7 @@ Assuming the XSD file is called ``hello-1.0.xsd``, the schema location will be
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:acme-hello="http://acme_company.com/schema/dic/hello"
xsi:schemaLocation="http://acme_company.com/schema/dic/hello
http://acme_company.com/schema/dic/hello/hello-1.0.xsd">
https://acme_company.com/schema/dic/hello/hello-1.0.xsd">

<acme-hello:config>
<!-- ... -->
Expand Down
2 changes: 1 addition & 1 deletion components/dependency_injection/compilation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ The XML version of the config would then look like this:
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:acme_demo="http://www.example.com/symfony/schema/"
xsi:schemaLocation="http://www.example.com/symfony/schema/ http://www.example.com/symfony/schema/hello-1.0.xsd">
xsi:schemaLocation="http://www.example.com/symfony/schema/ https://www.example.com/symfony/schema/hello-1.0.xsd">

<acme_demo:config>
<acme_demo:foo>fooValue</acme_demo:foo>
Expand Down
8 changes: 4 additions & 4 deletions components/phpunit_bridge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ to register a new `test listener`_ called ``SymfonyTestsListener``:

<!-- http://phpunit.de/manual/6.0/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.0/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
>

<!-- ... -->
Expand Down Expand Up @@ -173,7 +173,7 @@ message, enclosed with ``/``. For example, with:

<!-- http://phpunit.de/manual/6.0/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.0/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
>

<!-- ... -->
Expand Down Expand Up @@ -500,7 +500,7 @@ namespaces in the ``phpunit.xml`` file, as done for example in the

<!-- http://phpunit.de/manual/4.1/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/4.1/phpunit.xsd"
>

<!-- ... -->
Expand Down Expand Up @@ -644,7 +644,7 @@ Add the following configuration to the ``phpunit.xml.dist`` file:

<!-- http://phpunit.de/manual/6.0/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.0/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
>

<!-- ... -->
Expand Down
4 changes: 2 additions & 2 deletions components/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ Then, create your groups definition:
<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/serializer-mapping
http://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd"
https://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd"
>
<class name="Acme\MyObj">
<attribute name="foo">
Expand Down Expand Up @@ -835,7 +835,7 @@ Here, we set it to 2 for the ``$child`` property:
<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/serializer-mapping
http://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd"
https://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd"
>
<class name="Acme\MyObj">
<attribute name="child" max-depth="2"/>
Expand Down
8 changes: 4 additions & 4 deletions configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The main configuration file is called ``config.yml``:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd
http://symfony.com/schema/dic/twig
https://symfony.com/schema/dic/twig/twig-1.0.xsd">

Expand Down Expand Up @@ -201,7 +201,7 @@ can also load XML files or PHP files.
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd
http://symfony.com/schema/dic/twig
https://symfony.com/schema/dic/twig/twig-1.0.xsd">

Expand Down Expand Up @@ -255,7 +255,7 @@ key:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<!-- ... -->
<parameters>
Expand Down Expand Up @@ -335,7 +335,7 @@ configure DoctrineBundle and other parts of Symfony:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/doctrine
http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">
https://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">

<doctrine:config>
<doctrine:dbal
Expand Down
8 changes: 4 additions & 4 deletions configuration/configuration_organization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ needed for the ``app/config/dev/config.yml`` file:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<imports>
<import resource="../common/config.xml"/>
Expand Down Expand Up @@ -239,7 +239,7 @@ format (``.yml``, ``.xml``, ``.php``, ``.ini``):
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<imports>
<import resource="parameters.yml"/>
Expand Down Expand Up @@ -303,7 +303,7 @@ any other configuration file:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<imports>
<import resource="parameters.yml"/>
Expand Down Expand Up @@ -346,7 +346,7 @@ doesn't exist:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<imports>
<import resource="parameters.yml"/>
Expand Down
8 changes: 4 additions & 4 deletions configuration/environments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ accomplished easily and transparently:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/doctrine
http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">
https://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">

<imports>
<import resource="config.xml"/>
Expand Down Expand Up @@ -120,7 +120,7 @@ configuration file:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/webprofiler
http://symfony.com/schema/dic/webprofiler/webprofiler-1.0.xsd">
https://symfony.com/schema/dic/webprofiler/webprofiler-1.0.xsd">

<imports>
<import resource="config.xml"/>
Expand Down Expand Up @@ -227,7 +227,7 @@ this code and changing the environment string.
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/doctrine
http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">
https://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">

<doctrine:dbal logging="%kernel.debug%"/>

Expand Down Expand Up @@ -316,7 +316,7 @@ The best way to accomplish this is via a new environment called, for example,
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<imports>
<import resource="config_prod.xml"/>
Expand Down
12 changes: 6 additions & 6 deletions configuration/external_parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ variable in your service container configuration, you can reference it using
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/doctrine
http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">
https://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">

<doctrine:config>
<doctrine:dbal
Expand Down Expand Up @@ -172,7 +172,7 @@ turn the value of the ``HTTP_PORT`` env var into an integer:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<framework:config>
<framework:router http-port="%env(int:HTTP_PORT)%"/>
Expand Down Expand Up @@ -213,7 +213,7 @@ Symfony provides the following env var processors:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<parameters>
<parameter key="env(SECRET)">some_secret</parameter>
Expand Down Expand Up @@ -253,7 +253,7 @@ Symfony provides the following env var processors:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<parameters>
<parameter key="env(HTTP_METHOD_OVERRIDE)">true</parameter>
Expand Down Expand Up @@ -349,7 +349,7 @@ Symfony provides the following env var processors:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<parameters>
<parameter key="env(TRUSTED_HOSTS)">["10.0.0.1", "10.0.0.2"]</parameter>
Expand Down Expand Up @@ -430,7 +430,7 @@ Symfony provides the following env var processors:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<parameters>
<parameter key="env(AUTH_FILE)">../config/auth.json</parameter>
Expand Down
2 changes: 1 addition & 1 deletion configuration/micro_kernel_trait.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ because the configuration started to get bigger:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:framework="http://symfony.com/schema/dic/symfony"
xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<framework:config secret="S0ME_SECRET">
<framework:templating>
Expand Down
2 changes: 1 addition & 1 deletion configuration/override_dir_structure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ You also need to change the ``extra.symfony-web-dir`` option in the
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/assetic
http://symfony.com/schema/dic/assetic/assetic-1.0.xsd">
https://symfony.com/schema/dic/assetic/assetic-1.0.xsd">

<!-- ... -->
<assetic:config read-from="%kernel.project_dir%/../public_html"/>
Expand Down
2 changes: 1 addition & 1 deletion create_framework/unit_testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ using `PHPUnit`_. Create a PHPUnit configuration file in
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/5.1/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/5.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
Expand Down
4 changes: 2 additions & 2 deletions deployment/fortrabbit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ to redirect it to :phpfunction:`error_log`:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/monolog
http://symfony.com/schema/dic/monolog/monolog-1.0.xsd">
https://symfony.com/schema/dic/monolog/monolog-1.0.xsd">

<monolog:config>
<!-- ... -->
Expand Down Expand Up @@ -141,7 +141,7 @@ Make sure this file is imported into the main config file:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:framework="http://symfony.com/schema/dic/symfony"
xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<imports>
<import resource="config.xml"/>
Expand Down
8 changes: 4 additions & 4 deletions doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ information. By convention, this information is usually configured in an
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/doctrine
http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">
https://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">

<doctrine:config>
<doctrine:dbal
Expand Down Expand Up @@ -171,7 +171,7 @@ can automatically generate an empty ``test_project`` database for you:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/doctrine
http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">
https://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">

<doctrine:config>
<doctrine:dbal
Expand Down Expand Up @@ -235,7 +235,7 @@ can automatically generate an empty ``test_project`` database for you:
xsi:schemaLocation="http://symfony.com/schema/dic/services
https://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/doctrine
http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">
https://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">

<doctrine:config>
<doctrine:dbal
Expand Down Expand Up @@ -379,7 +379,7 @@ directly inside the ``Product`` class via DocBlock annotations:
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
https://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

<entity name="AppBundle\Entity\Product" table="product">
<id name="id" type="integer">
Expand Down
4 changes: 2 additions & 2 deletions doctrine/associations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ property on the ``Product`` class, annotated as follows:
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
https://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

<entity name="AppBundle\Entity\Product">
<!-- ... -->
Expand Down Expand Up @@ -150,7 +150,7 @@ to hold those associated objects.
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
https://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

<entity name="AppBundle\Entity\Category">
<!-- ... -->
Expand Down
Loading