[lttng-dev] [PATCH] Fix: XML declaration must be at beginning of XSD file

Christian Babeux christian.babeux at efficios.com
Thu Apr 10 17:16:39 EDT 2014


Move down license information to fix the parser error :
XML declaration allowed only at the start of the document

Signed-off-by: Christian Babeux <christian.babeux at efficios.com>
---
 src/common/config/session.xsd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/config/session.xsd b/src/common/config/session.xsd
index 910f070..7c3e9d8 100644
--- a/src/common/config/session.xsd
+++ b/src/common/config/session.xsd
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
 Copyright (c) 2014 - Jérémie Galarneau <jeremie.galarneau at efficios.com>
 
@@ -19,7 +20,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 -->
-<?xml version="1.0" encoding="UTF-8"?>
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 elementFormDefault="qualified" version="2.5">
 
-- 
1.8.5.2




More information about the lttng-dev mailing list