From: <[EMAIL PROTECTED]>
> Warning: Couldn't find DataType for type: xsd:string attribute: Event

That could be a bug. The XSD document I've been using didn't use the xsd:
prefix. e.g. look at xml/schema/personal.xsd
I'll look into that one - I should add a JUnit test case to the build that
uses both a prefix based and non prefixed based XSD document.

> How does dom4j handels ref attribute for groups, elements and attributes.
> new elements on heap or just references to them? I think this would safe
> memory. But I guess we need a method like  #isReferenced() and/o
> #resolveReference() that returns the source as an Elment instance. Any
further thought,
> comments, motivation ;-), ideas ?

:-)

So far I've focussed on getting XML Schema Data Types support working.

References are part of XML Schema Structures AFAIK which can come later. I'm
also particularly interested in supporting Relax NG the combination of Relax
and Trex which seems much simpler than the XML Schema Structures spec.

I agree it might be useful to look at adding some form of 'Reference' API
like isReference() and resolveReference(). This might be useful for
implementing XLink and ID and IDREFs in DTDs also. I'll add that to our to
do list for future consideration!

James


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to