Title: define a XML-Node as a date without an external schema and namespace

Hi,

How can I define a XML-Node as a date without an external schema and namespace?

I try to do it this way:

<?xml version="1.0" encoding="iso-8859-1"?>
<object xmlns:dt="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="defaultSchema.xsd">
<order>
  <uppdate dt:type='xs:dateTime'>2001-09-18TTT11:56:57.000</upddate>
</order>
</object>


I can load the xml with setValidating(true), the datatype validating failed.

Thanks.


Reply via email to