OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] valid data-types?

[ Lists Home | Date Index | Thread Index ]

There is no timeInstant datatype in the
"http://www.w3.org/2001/XMLSchema"; namespace. 

-- 
PITHY WORDS OF WISDOM 
The other line always moves faster.


This posting is provided "AS IS" with no warranties, and confers no
rights. 

>  
>  
> -----Original Message-----
> From: shadab [mailto:mohammad.shadab@adeptia.com] 
> Sent: Tuesday, April 22, 2003 11:16 PM
> To: Xml-Dev
> 
> Hi,
> 
>     <xsd:simpleType name="fixed.14.4">
>         <xsd:restriction base="xsd:decimal">
>             <xsd:scale value="4"/>
>             <xsd:precision value="18"/>
>             <xsd:pattern value="(\+|-)?\d{0,14}(\.d{0,4})"/>
>         </xsd:restriction>
>     </xsd:simpleType>
> 
>     <xsd:simpleType name="datetime">
>         <xsd:restriction base="xsd:timeInstant">
>              <xsd:pattern
> value="\d{4,4}\-\d{2,2}-\d{2,2}T\d{2,2}:\d{2,2}:\d{2,2}"/>
>         </xsd:restriction>
>     </xsd:simpleType>
> 
> 
> here scale/timeInstant is being used as a restriction 
> facet.Is this part of the http://www.w3.org/2001/XMLSchema or 
> is a recent addition?
> 
> Regards,
> Shadab
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org 
> <http://www.xml.org>, an initiative of OASIS 
> <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
> 




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS