�� ������ IntelliJ IDEA ���� Schema
support features�� ����մϴ�.

|
IDEA�� �θ� ���ǰ� �ִ� �� ���� ��Ű���� �̹� �����մϴ�. �׸��� �Ƹ�, ����� XML ������ ������ �ʿ䰡 �����ϴ�.
|
IDEA�� ���� ��� xsi �Ӽ��� ���� ��Ű�� ��ġ�� �����ϴ� ��� ǥ�� ����� �����մϴ�. XML ���ϰ� �Բ� ��Ű���� �����ϴ� �ٸ� ����� File | Settings: IDE Settings:
External Resources Ư¡�� ����ϴ� �� �Դϴ�. ���� ��Ű���� ���� �����˴ϴ�.
IDEA���� XML�� �Բ� �۾��ϱ� ���ؼ�, ����� File |
Settings: IDE Settings: External Resources �� URI�� �߰� �ϱ� ���� �Ǵ� �װ��� ���������� �����ϱ� ���� ���� XML ��Ű�� URI��s
�Ǵ� Ư���� intention action�� ����� �� �ֽ��ϴ�.
Ignored URI's�� Configure
ignored resources list of the File | Settings:
IDE Settings: External Resources �޴����� �־����ϴ�.
���� ǥ�õ� ��Ű���� �߸��Ǿ��ٸ� �װ��� ����(���������� ����)�μ� ��ũ�� ���̰� ������ �߻��� ���� ���� �󿡼� ��ſ��� �˷��� �� �Դϴ�.
���� ��Ű���� �����ϸ�, IDEA�� ��� �ʿ��� üũ�� �װ��� ����Ͽ� ����� �� �Դϴ�. ��Ű�� ���� ������ �� ������ ���� validation�� ���� �մϴ�.
�Ϻ� ���� �����ϰ� ���õ� ���ķ�IDEA�� �������� ������ Schema
validation�� ���� �ʽ��ϴ�. �װ��� ���� DTD validation�� ���ϴ� softer�Դϴ�. �׷��Ƿ� �����ϴ� ���� ��ſ��� �ɰ��� �������� �˷��� �� �Դϴ�.
������ validation�� �����ϱ� ���ؼ� ����� Validate ���� ����ؾ߸� �մϴ�.

|
Validation ��ƾ�� ���� �ΰ��� ���λ����� ����, Editing
XML ������ XML Validation �κ��� �����Ͻʽÿ�.
|
Sample:
XML File with Schema Support
|
< ?xml version="1.0" encoding="utf-8"? >
< xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org/ns/books/" >
< xs:element name="book" >
< xs:complexType >
< xs:sequence >
< xs:element name="title" type="xs:string" />
< xs:element name="author" type="xs:string" />
< xs:element name="character" minOccurs="0" maxOccurs="unbounded" >
< xs:complexType >
< xs:sequence >
< xs:element name="name" type="xs:string" />
< xs:element name="friend-of" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
< xs:element name="since" type="xs:date" />
< xs:element name="qualification" type="xs:string" />
</ xs:sequence >
</ xs:complexType >
</ xs:element >
</ xs:sequence >
< xs:attribute name="isbn" type="xs:string" />
</ xs:complexType >
</ xs:element >
</ xs:schema >
|