<?xml version="1.0" encoding="UTF-8"?> | |
<schema xmlns="http://www.ogf.org/dfdl/dfdl-1.0/XMLSchemaSubset" | |
targetNamespace="http://www.example.org/example1/" | |
xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/" | |
xmlns:xsd="http://www.ogf.org/dfdl/dfdl-1.0/XMLSchemaSubset" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
> | |
<annotation> | |
<appinfo source='http://www.ogf.org/dfdl/'> | |
<dfdl:defineEscapeScheme name="pound"> | |
<dfdl:escapeScheme escapeCharacter='#' | |
escapeKind="escapeCharacter" /> | |
</dfdl:defineEscapeScheme> | |
<dfdl:defineEscapeScheme name='StartEnd'> | |
<dfdl:escapeScheme escapeBlockStart='START' | |
escapeBlockEnd='END' escapeKind="escapeBlock" /> | |
</dfdl:defineEscapeScheme> | |
</appinfo> | |
</annotation> | |
<!-- Schema Escaping: escape character and escape block, variable length --> | |
<element name="list"> | |
<complexType> | |
<sequence> | |
<element name="character" type="xsd:string" maxOccurs="unbounded" | |
dfdl:representation="text" | |
dfdl:separator="SEPARATOR" | |
dfdl:initiator="INITIATOR" | |
dfdl:terminator="TERMINATOR" | |
dfdl:escapeSchemeRef="pound"/> | |
<element name="block" type="xsd:string" maxOccurs="unbounded" | |
dfdl:representation="text" | |
dfdl:separator="SEPARATOR" | |
dfdl:initiator="INITIATOR" | |
dfdl:terminator="TERMINATOR" | |
dfdl:escapeSchemeRef="StartEnd"/> | |
</sequence> | |
</complexType> | |
</element> | |
</schema> |