Namespace.ANY_NAMESPACE 2006-07-03 - By Kevin POCHAT
Back Hi,
I'm working on an app using a DTD to generate JDOM-based XML Parsers. When I use calls to Element.getAttributeValue() I don't necessarily know what is the namespace of the looked up attribute.
Would it be considered as useful or as a sacrilege to implement a static Namespace to be used as a "wildcard" namespace ? If useful, do you have any guidlines concerning various points to take care of during such a development ? I currently just set it to be taken in consideration in the Namespace.equals(Object ob) method.
Thanks,
Kevin POCHAT
Hi,<br><br>I'm working on an app using a DTD to generate JDOM-based XML Parsers .<br>When I use calls to Element.getAttributeValue() I don't necessarily know what is the namespace of the looked up attribute.<br><br>Would it be considered as useful or as a sacrilege to implement a static Namespace to be used as a "wildcard" namespace ? <br>If useful, do you have any guidlines concerning various points to take care of during such a development ? I currently just set it to be taken in consideration in the Namespace.equals(Object ob) method.<br><br>Thanks, <br><br>Kevin POCHAT
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
|
|