W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2001

Re: Getting Type/Facet Info from Elements/Attributes

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 22 Aug 2001 13:38:15 +0100
To: Robert Winkler <winkler@assb01.arl.army.mil>
Cc: xmlschema-dev@w3.org
Message-ID: <f5bitfgp8w8.fsf@cogsci.ed.ac.uk>
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

  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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:52 UTC