[xsd-users] How to get element type from xsd

Boris Kolpackov boris at codesynthesis.com
Wed Mar 7 10:25:21 EST 2007


Hi Mark,

Mark Lofdahl <mark.lofdahl at bigfoot.com> writes:

> Would it be possible to add options/flags to XSD to allow the following:
> - have xsd call parser->setFeature(XMLUni::fgXercesDOMHasPSVIInfo, true)

We don't want to duplicate the whole Xerces-C++ feature/property API.
The policy it to provide equivalents to the most basic and widely-
used features and properties while allowing one to set the XML-DOM
stage in a completely customized way by providing a parsing function
from DOMDocument.

> - have xsd not create a copy of a DOMDocument that is passed to it

This sounds like a reasonable thing to do even if it is not a
work-around for a Xerces-C++ bug. I've added this to my TODO
list. Hopefully it will get into the upcoming 2.4.0.


hth,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070307/9c5c6cec/attachment.pgp


More information about the xsd-users mailing list