Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

[content-bundle] change doc to best practices #795

Closed
wants to merge 1 commit into from

Conversation

dbu
Copy link
Member

@dbu dbu commented Jan 24, 2017

No description provided.

@dbu dbu added the wip/poc label Jan 24, 2017
@@ -72,6 +73,7 @@ Here is an example configuration for the FOSRestBundle.
.. code-block:: xml

<?xml version="1.0" encoding="UTF-8" ?>
<!-- app/config/config.xml -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be before the doctype thing

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, ok. if that is the convention, i can change. but that would mean its not valid xml anymore. the doctype must be the very first thing in an xml file afaik.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's correct. However, one is not supposed to copy the file comment (e.g. no PHP file is valid as well, as there is no <?php).

@dbu
Copy link
Member Author

dbu commented Jan 26, 2017

fixed and rebased in #810

@dbu dbu closed this Jan 26, 2017
@dbu dbu removed the wip/poc label Jan 26, 2017
@dbu dbu deleted the best-practices-content branch January 26, 2017 08:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants