<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="IR56B"> <xs:complexType> <xs:sequence> <xs:element name="Section"> <!-- Section --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:length value="3" /> <xs:pattern value="[0-9a-zA-Z]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="ERN"> <!-- ERN --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="1" /> <xs:maxLength value="8" /> <xs:pattern value="[0-9]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="YrErReturn"> <!-- Year of Employer’s Return --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:length value="4" /> <xs:pattern value="[0-9]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="SubDate"> <!-- Submission Date --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:length value="8" /> <xs:pattern value="[0-9]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="ErName"> <!-- Employer’s Name --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="1" /> <xs:maxLength value="70" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="Designation"> <!-- Designation --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="25" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="NoRecordBatch"> <!-- No. of Records in Batch --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="1" /> <xs:maxLength value="5" /> <xs:pattern value="[0-9]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="TotIncomeBatch"> <!-- Total Income in Batch --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="1" /> <xs:maxLength value="11" /> <xs:pattern value="[0-9]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="Employee" minOccurs="1" maxOccurs="unbounded"> <!-- Employee’s IR56B record --> <xs:complexType> <xs:sequence> <xs:element name="SheetNo"> <!-- Sheet No --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="1" /> <xs:maxLength value="6" /> <xs:pattern value="[0-9]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="HKID" default="AA000000A"> <!-- Employee’s HKID with Check Digit --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="9" /> <xs:pattern value="[A-Z a-z]{0,1}[A-Za-z]{1}[0-9]{6}[Aa0-9]{0,1}" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="TypeOfForm"> <!-- Status --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="O" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="Surname"> <!-- Employee’s Surname --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="1" /> <xs:maxLength value="20" /> <xs:pattern value="[A-Za-z'\.\-]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="GivenName"> <!-- Employee’s Given Names in Full --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="1" /> <xs:maxLength value="55" /> <xs:pattern value="[A-Z a-z0-9!#$%&\*\(\)_\+\-=\\:";'<>?,\./@]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="NameInChinese"> <!-- Employee’s Full Name in Chinese --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="25" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="Sex"> <!-- Employee’s Sex --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="M" /> <xs:enumeration value="F" /> <xs:enumeration value="m" /> <xs:enumeration value="f" /> <xs:enumeration value="" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="MaritalStatus"> <!-- Employee’s Marital Status --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="1" /> <xs:enumeration value="2" /> <xs:enumeration value="" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="PpNum"> <!-- Employee’s Passport No. and Country of Issue --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="SpouseName"> <!-- Spouse’s Name --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="50" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="SpouseHKID"> <!-- Spouse’s HKID with Check Digit --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="9" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="SpousePpNum"> <!-- Spouse’s Passport No. and Country of Issue --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="ResAddr"> <!-- Employee’s Residential Address --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="90" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AreaCodeResAddr"> <!-- Area Code of Employee’s Residential Address --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="1" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="PosAddr"> <!-- Employee’s Postal Address --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="60" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="Capacity"> <!-- Capacity in which Employed --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="PtPrinEmp"> <!-- If Part Time, Name of Principal Employer --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="30" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="StartDateOfEmp"> <!-- Start Date of Employment --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:length value="8" /> <xs:pattern value="[0-9]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="EndDateOfEmp"> <!-- End Date of Employment --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:length value="8" /> <xs:pattern value="[0-9]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="PerOfSalary"> <!-- Period of Salary/Wages --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfSalary" type="amount" /> <!-- Amount of Salary/Wages --> <xs:element name="PerOfLeavePay"> <!-- Period of Leave Pay --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfLeavePay" type="amount" /> <!-- Amount of Leave Pay --> <xs:element name="PerOfDirectorFee"> <!-- Period of Director’s Fee --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfDirectorFee" type="amount" /> <!-- Amount of Director’s Fee --> <xs:element name="PerOfCommFee"> <!-- Period of Commission /Fees --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfCommFee" type="amount" /> <!-- Amount of Commission /Fees --> <xs:element name="PerOfBonus"> <!-- Period of Bonus --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfBonus" type="amount" /> <!-- Amount of Bonus --> <xs:element name="PerOfBpEtc"> <!-- Period of Back Pay, Payment in Lieu of Notice, Terminal Awards or Gratuities, etc. --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfBpEtc" type="amount" /> <!-- Amount of Back Pay, Payment in Lieu of Notice, Terminal Awards or Gratuities, etc. --> <xs:element name="PerOfPayRetire"> <!-- Period of Certain Payments from Retirement Schemes --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfPayRetire" type="amount" /> <!-- Amount of Certain Payments from Retirement Schemes --> <xs:element name="PerOfSalTaxPaid"> <!-- Period of Salaries Tax Paid by Employer --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfSalTaxPaid" type="amount" /> <!-- Amount of Salaries Tax Paid by Employer --> <xs:element name="PerOfEduBen"> <!-- Period of Education Benefits --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfEduBen" type="amount" /> <!-- Amount of Education Benefits --> <xs:element name="PerOfGainShareOption"> <!-- Period of Gain Realized Under Share Option Scheme --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfGainShareOption" type="amount" /> <!-- Amount of Gain Realized Under Share Option Scheme --> <xs:element name="NatureOtherRAP1"> <!-- Nature of 1st Other Rewards, Allowances or Perquisites --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="35" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="PerOfOtherRAP1"> <!-- Period of 1st Other Rewards, Allowances or Perquisites --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfOtherRAP1" type="amount" /> <!-- Amount of 1st Other Rewards, Allowances or Perquisites --> <xs:element name="NatureOtherRAP2"> <!-- Nature of 2nd Other Rewards, Allowances or Perquisites --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="35" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="PerOfOtherRAP2"> <!-- Period of 2nd Other Rewards, Allowances or Perquisites --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfOtherRAP2" type="amount" /> <!-- Amount of 2nd Other Rewards, Allowances or Perquisites --> <xs:element name="NatureOtherRAP3"> <!-- Nature of 3rd Other Rewards, Allowances or Perquisites --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="35" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="PerOfOtherRAP3"> <!-- Period of 3rd Other Rewards, Allowances or Perquisites --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfOtherRAP3" type="amount" /> <!-- Amount of 3rd Other Rewards, Allowances or Perquisites --> <xs:element name="PerOfPension"> <!-- Period of Pensions --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtOfPension" type="amount" /> <!-- Amount of Pensions --> <xs:element name="TotalIncome"> <!-- Total Income --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="1" /> <xs:maxLength value="9" /> <xs:pattern value="[0-9]*" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="PlaceOfResInd"> <!-- Place of Residence Indicator --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="0" /> <xs:enumeration value="1" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AddrOfPlace1"> <!-- Address of 1st Place of Residence --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="110" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="NatureOfPlace1"> <!-- Nature of 1st Place of Residence --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="PerOfPlace1"> <!-- Period of 1st Place of Residence --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="26" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="RentPaidEr1" type="rentAmt" /> <!-- Rent of 1st Place of Residence Paid to Landlord by Employer --> <xs:element name="RentPaidEe1" type="rentAmt" /> <!-- Rent of 1st Place of Residence Paid to Landlord by Employee --> <xs:element name="RentRefund1" type="rentAmt" /> <!-- Rent of 1st Place of Residence Refunded to Employee --> <xs:element name="RentPaidErByEe1" type="rentAmt" /> <!-- Rent of 1st Place of Residence Paid to Employer by Employee --> <xs:element name="AddrOfPlace2"> <!-- Address of 2nd Place of Residence --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="110" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="NatureOfPlace2"> <!-- Nature of 2nd Place of Residence --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="19" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="PerOfPlace2"> <!-- Period of 2nd Place of Residence --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="26" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="RentPaidEr2" type="rentAmt" /> <!-- Rent of 2nd Place of Residence Paid to Landlord by Employer --> <xs:element name="RentPaidEe2" type="rentAmt" /> <!-- Rent of 2nd Place of Residence Paid to Landlord by Employee --> <xs:element name="RentRefund2" type="rentAmt" /> <!-- Rent of 2nd Place of Residence Refunded to Employee --> <xs:element name="RentPaidErByEe2" type="rentAmt" /> <!-- Rent of 2nd Place of Residence Paid to Employer by Employee --> <xs:element name="OverseaIncInd"> <!-- Overseas Income Indicator --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="0" /> <xs:enumeration value="1" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AmtPaidOverseaCo"> <!-- Amount Paid by Overseas Company --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="20" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="NameOfOverseaCo"> <!-- Name of Overseas Company --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="60" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="AddrOfOverseaCo"> <!-- Address of Overseas Company --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="60" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="Remarks"> <!-- Remarks --> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="60" /> </xs:restriction> </xs:simpleType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:simpleType name="amount"> <xs:restriction base="xs:string"> <xs:maxLength value="9" /> <xs:pattern value="[0-9]*" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="rentAmt"> <xs:restriction base="xs:string"> <xs:maxLength value="7" /> <xs:pattern value="[0-9]*" /> </xs:restriction> </xs:simpleType> </xs:schema>
相关推荐
在描述中提到的`jaxrs.xsd`、`jaxrs.xsd`和`core.xsd`是XML Schema Definition (XSD)文件,它们定义了CXF中JAX-RS相关元素的结构和约束。这些XSD文件对于理解CXF配置文件的结构至关重要,因为它们包含了所有可用的...
在开发Java应用,尤其是使用Apache Dubbo作为服务治理框架时,可能会遇到Eclipse IDE报找不到`dubbo.xsd`的问题。`dubbo.xsd`是Dubbo服务配置的XML schema定义文件,它定义了Dubbo配置文件的结构和规则。当Eclipse在...
《Dubbo的.xsd文件详解》 Dubbo作为一款高性能、轻量级的Java开源服务框架,其在设计和实现过程中广泛使用了XML Schema(简称XSD)来定义服务接口和配置规范。XSD文件是XML文档的模式定义,它为XML提供了结构约束和...
spring-beans-4.3.xsd spring-beans-4.3.xsd spring-beans-4.3.xsd spring-beans-4.3.xsd
《Spring框架中的beans配置文件详解——以spring-beans-3.0.xsd和3.1.xsd为例》 在Spring框架中,`spring-beans`是核心组件之一,它负责管理对象的生命周期和依赖关系。`spring-beans`的配置文件通常以`.xsd`为后缀...
《web-app_2_4.xsd:Web应用配置规范详解》 在Web应用程序开发中,配置文件起着至关重要的作用,它们定义了应用程序的行为、结构和功能。其中,`web-app_2_4.xsd`是Java EE 5规范中的核心配置文件之一,用于描述...
1.解决:dubbo找不到dubbo.xsd报错 2.Eclipse配置 选择windows-->preferrence-->xml->xmlcatalog-->add->catalog entry -->file system,选择模版文件(本地下载的)后,修改key值为...
标题中的"spring-cache.xsd+spring-encache.xsd"提到了两个XML Schema定义文件,它们是Spring框架中用于缓存管理的配置规范。Spring框架是一个广泛应用的Java企业级应用开发框架,它提供了多种功能,包括但不限于...
《Dubbo.xsd文件详解与应用》 在Java开发领域,Dubbo是一个广泛使用的高性能、轻量级的服务治理框架,它使得服务间的调用变得简单而高效。在使用Dubbo进行开发时,开发者经常会遇到一个名为"Dubbo.xsd"的文件,这个...
spring-context-3.2.xsd
《Spring框架中的Context模块与XSD配置详解》 在Java企业级开发中,Spring框架扮演着至关重要的角色,尤其在Spring的Context模块中,通过XML Schema(XSD)进行配置,使得应用程序的组件管理和依赖注入变得简洁高效...
1. **spring-aop-3.0.xsd**: Spring AOP(面向切面编程)是 Spring 框架的一个重要部分,它允许开发者在不修改源代码的情况下,实现跨切面的关注点,如日志、事务管理等。`spring-aop-3.0.xsd` 是 Spring AOP 的 ...
dubbo找不到dubbo.xsd报错, cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'. - schema_reference.4: Failed to read schema document...
在Eclipse中配置Dubbo时,`dubbo.xsd`配置文件扮演着至关重要的角色。这个文件定义了Dubbo服务的所有配置元素和属性,遵循XML Schema(XSD)规范,确保XML配置文件的正确性和一致性。 `dubbo.xsd`文件包含了一系列...
此外,"dubbo.xsd.zip"压缩包中的"dubbo.xsd.txt"可能是XSD文件的文本版,方便开发者查看和理解其内容,而不必依赖XML解析工具。这对于离线环境或学习理解Dubbo配置规则非常有帮助。 总的来说,"dubbo.xsd.zip"是...
【标题解析】:“ehcache.xsd_ehcache.xml代码提示.rar”这个标题表明这是一个与Ehcache缓存系统相关的资源包,主要目的是为Ehcache的配置文件ehcache.xml提供代码提示功能。Ehcache是一个广泛使用的开源Java缓存...
dubbo配置xml文件报错“Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:...dubbo.xsd文件下载
【标题】:“dubbo.xsd资源”是Dubbo框架的核心配置文件 【描述】:Dubbo.xsd是Dubbo服务治理框架的一个核心组件,它定义了Dubbo服务的XML Schema,用于规范和验证Dubbo配置文件中的元素和属性。通过这个文件,...