| Message view | « Date » · « Thread » |
|---|---|
| Top | « Date » · « Thread » |
| From | Davanum Srinivas <d...@yahoo.com> |
| Subject | Re: [Xalan2][C2] DOM2Helper's getLocalNameOfNode Problem |
| Date | Thu, 05 Oct 2000 20:38:49 GMT |
Thanks Scott, That works. So one issue left is the "parse error is not thrown".
-- dims
--- Scott_Boag@lotus.com wrote:
>
> OK, because of what Joe said, and also because of the case you show below,
> if getLocalName returns null, I now call
> (superclass)DOMHelper#getLocalNameOfNode. Let me know if this seems to fix
> things.
>
> -scott
>
>
>
>
>
>
> Davanum
>
> Srinivas To: Scott_Boag@lotus.com
>
> <dims@yahoo.c cc: xalan-dev@xml.apache.org,
> cocoon-dev@xml.apache.org
> om> Subject: [Xalan2][C2] DOM2Helper's
> getLocalNameOfNode Problem
>
>
> 10/05/00
>
> 02:40 PM
>
> Please
>
> respond to
>
> dims
>
>
>
>
>
>
>
>
> Scott,
>
> node.getLocalName() returns null for attributes that i create at runtime
> after parsing the XML
> document as follows:
>
> Element root = document.getDocumentElement();
> root.setAttribute("file-name", name);
> root.setAttribute("file-path", path);
> root.setAttribute("creation-date", String.valueOf(new Date().getTime
> ()));
>
> node.getLocalName() returns null for these three attributes....
>
> Thanks,
> dims
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/
>
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
| |
| Mime |
|
| View raw message | |