xml - XS:date returns an error with format YYYYMMDD -


<xs:element name="begindate" type="xs:string">    <xs:simpletype>     <xs:restriction base="xs:string">         <xs:pattern value="\d{8}"/>     </xs:restriction>     </xs:simpletype> </xs:element> 

in xml gave

     <begindate>20100721</begindate> 

but returns error ... there problem code here .. using validated code :(

so i'm bit blocked

you have defined content type twice. have:
1) attribute type on <xs:element>
2) <xs:simpletype> block child of <xs:element>.

you can't have both. in case, don't need type attribute.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -