Warum hat DTD Fehler "White spaces sind erforderlich zwischen publicId und systemI" auftreten, mit Feder XSD

In meinem Anwendungskontext Datei Eclipse zeigt den Fehler:

Referenzierten Datei enthält Fehler (http://www.springframework.org/schema/integration). applicationContext.xml Linie 1 XML-Problem

Blick auf die Fehler detail in Eclipse sehe ich:

            White spaces are required between publicId and systemId

Nach anderen Leuten mit diesem problem, das mit dem DOCTYPE, welcher anscheinend muss eine SYSTEM-id.

Warum im Jahr 2014, wenn die DOCTYPE-die sind so ziemlich überflüssig, da wir alle mit XSD anstelle von DTDs und es gibt keinen DOCTYPE in http://www.springframework.org/schema/integration (oder sollte es sein), hat dieser Fehler auftreten?

          <?xml version="1.0" encoding="UTF-8"?>
          <beans xmlns="http://www.springframework.org/schema/beans"
          xmlns:mvc="http://www.springframework.org/schema/mvc"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:p="http://www.springframework.org/schema/p"
          xmlns:context="http://www.springframework.org/schema/context"
          xmlns:jee="http://www.springframework.org/schema/jee"
          xmlns:int="http://www.springframework.org/schema/integration" 
          xmlns:mail="http://www.springframework.org/schema/integration/mail"
          xsi:schemaLocation="http://www.springframework.org/schema/beans 
                       http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
                       http://www.springframework.org/schema/mvc
                       http://www.springframework.org/schema/mvc/spring-mvc.xsd
                       http://www.springframework.org/schema/integration/mail 
                          http://www.springframework.org/schema/integration/mail/spring-integration-mail-3.0.xsd
                       http://www.springframework.org/schema/jee 
                       http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
                       http://www.springframework.org/schema/context
                       http://www.springframework.org/schema/integration
                       http://www.springframework.org/schema/integration/spring-integration-3.0.xsd
                       http://www.springframework.org/schema/context/spring-context.xsd">

Dank

InformationsquelleAutor user1069528 | 2014-03-13
Schreibe einen Kommentar