Commit f8d9d9b63f6a5651a915c0bb69e33d511345f99f

Authored by Aníbal Pacheco
1 parent 0a67d76c00
Exists in master

Se corrige el tipo del código de municipio para admitir Ñ y CH,LL como únicas co…

…mbinaciones de 2 letras

Showing 1 changed file with 7 additions and 1 deletions Side-by-side Diff

direccionesV01p01.xsd View file @ f8d9d9b
... ... @@ -148,9 +148,15 @@
148 148 </restriction>
149 149 </simpleType>
150 150  
  151 + <simpleType name="TipoCodigoMunicipio">
  152 + <restriction base="string">
  153 + <pattern value="[A-ZÑ][HL]?" />
  154 + </restriction>
  155 + </simpleType>
  156 +
151 157 <complexType name="TipoMunicipio">
152 158 <sequence>
153   - <element maxOccurs="1" minOccurs="1" name="codigo" type="tns:Alfa-2" />
  159 + <element maxOccurs="1" minOccurs="1" name="codigo" type="tns:TipoCodigoMunicipio" />
154 160 <element maxOccurs="1" minOccurs="1" name="departamento" type="tns:TipoDepartamento" />
155 161 <element maxOccurs="1" minOccurs="0" name="nombre" type="string" />
156 162 </sequence>