Hi Sanjaya,

They are different XPointer schemes. Conceptually that is what an
XPointerPart represents.

Perhaps some of the code could be shared but I think the parts specific to
the element() and xpointer() schemes should be separated [1] into different
classes. It's better OO design in my opinion.

Thanks.

[1] http://en.wikipedia.org/wiki/Separation_of_concerns

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [email protected])
E-mail: [email protected]

Sanjaya Liyanage <[email protected]> wrote on 04/09/2010 01:37:21 PM:

> Hi Michael,
> Thank you for your comments on ElementSchemePointer class.But why a
> new implementation of XPointerPart interface is required?Do you want
> me to introduce any new abstract method there or is there any other
> significant reason?
>
> Thank you
> Sanjaya Liyanage
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

Reply via email to