Re: Getting Type/Facet Info from Elements/Attributes

Robert Winkler <winkler@assb01.arl.army.mil> writes:

> Hi,
> 
> I'm using xml schema for IPC between applications (xerces-c 1.5.1).
> 
> I want to get back the xsd type and facet information of my
> elements/attributes but can't seem to find a DOM or SAX interface for
> doing so. The getType() interfaces appear to only give me the XML
> datatype (so mainly just CDATA) but not the XSD info. And this appears
> to be as advertised.

If this is the case the parser is non-conforming, in that W3C XML
Schema conformance requires that (schema) type information be made
available in the PSVI.

But I'm not sure any parsers other than XSV expose a conformant PSVI in any
way.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/

Received on Wednesday, 22 August 2001 08:37:53 UTC