XML 스키마 파일에 다음과 같은 코드가 자주 표시됩니다. 늘어나는만큼 내가 xmlns 새로운 네임 스페이스를 정의하는 것입니다 이해했습니다. 그러나 xmlns 다음에 오는 긴 URL이 실제로 필요합니까? 내 말은 프로그램, 파서 (parser), 실제로 전화를 건 사람이 무엇이든간에. "http://www.springframework.org/schema/beans"? 또는 단순히 여기에 같은 라인 수 : 그것은
<element xmlns='http://whatever...'>
XML 스키마/네임 스페이스
The IETF recommends that XML namespaces be URIs을 볼 때
<beans xmlns="beansNamespace">
여기,의
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:osgi="http://www.springframework.org/schema/osgi"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
"
>
가능한 중복 http://stackoverflow.com/questions/5758041/why-are-urls-in-xml -namespaces) – skaffman