[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: valid data-types?
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@a...] > 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> > >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|