Hi Yana,

 

I know it will be difficult to implement this feature on DOM, is there any way of doing the same but working with XmlObjects, Cursors or any other xmlbeans feature?

 

Regards

 

Dave Garcia

 

-----Mensaje original-----
De: Yana Kadiyska [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 07 de septiembre de 2005 22:25
Para: [email protected]
Asunto: RE: Document.getElementById method not implemented

 

Hi David,

 sorry for not getting back to you earlier – the current DOM implementation is not schema aware at all…thus propagating type information (which is what the ID type of the attributes is) is non-trivial…We are looking into supporting that as part of DOM Level 3 if we implement it in v3.

 

You are of course welcome to come up with a patch/solution of your own, but the solution is non-trivial (otherwise we’d just do it)…You can start by looking at the store package, which contains the Dom Implementation...

 

-Yana

 


From: David Garcia [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 07, 2005 11:07 AM
To: [email protected]
Subject: Document.getElementById method not implemented

 

 

 

Hi,

 

I’m using xmlBeans together with Apache xml security framework and when working with ds:References , if they are #xpointer expressions the Document.getElementById() method  is called (in the xmlBeans implementation it delegates it’s execution to the DomImpl class ), but in the current version a RuntimeException( "Not implemented" ) is thrown L .

 

For avoiding this, I use a xpath query like this: "//[EMAIL PROTECTED]'"+id+"']" but I don’t like this solution much…

 

            I know that on the svn current version there is code to support DTD matching id’s but schemas are not supported… yet.

 

            Is there any plan to implement it?  How could I implement it using the code contained on the current svn version?

 

 

Regards

 

Dave Garcia

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to