Groups > Novell > Designer for Novell Identiry Manager > Re: xmlns:xml on token-text ... Is this useful?




xmlns:xml on token-text ... Is this useful?

xmlns:xml on token-text ... Is this useful?
Mon, 21 Apr 2008 15:08:43 GMT
Many of my policies have this:

 xmlns:xml="http://www.w3.org/XML/1998/namespace"

on pretty much every <token-text> element, like:

  <actions>
   <do-set-local-variable name="oldDepartmentNumber">
    <arg-string>
     <token-text xml:space="preserve"
xmlns:xml="http://www.w3.org/XML/1998/namespace"> (&lt;font
color="#2b60de"> Changed from </token-text>
     <token-local-variable name="destdepartmentNumber"/>
     <token-text xml:space="preserve"
xmlns:xml="http://www.w3.org/XML/1998/namespace">&lt;/font>
)</token-text>
    </arg-string>
   </do-set-local-variable>
   <do-set-local-variable name="departmentNumberIsChanging">
    <arg-string>
     <token-text xml:space="preserve"
xmlns:xml="http://www.w3.org/XML/1998/namespace">1</token-text&g
t;
    </arg-string>
   </do-set-local-variable>
  </actions>

These are all older policies that were created in iManager, imported in
to Designer, and have been in Designer projects that have been upgraded
a bunch of times along the way. I've noticed that a new policy created
in Designer now doesn't have these, also that Designer doesn't seem to
be expecting to see them there.

So are they useful? I'm considering a search-and-remove here to clean
them up, but I'm hesitant to do so without knowing why they're there or
what they might be for.


---------------------------------------------------------------------------
 David Gersic                                            dgersic_@_niu.edu
 Novell Support Forums Volunteer SysOp            http://forums.novell.com

Post Reply
Re: xmlns:xml on token-text ... Is this useful?
Mon, 21 Apr 2008 17:12:57 GMT
My understanding is that the Mozilla Javascript DOM (or was it IE?) 
stuff wants them there in order to use xml:space, so iManager adds if if 
it is missing and it thinks it is needed. Removing them probably won't 
hurt, but they may come back if you edit them using Policy Builder in 
iManager.


-Father Ramon


David Gersic wrote:
> Many of my policies have this:
> 
>  xmlns:xml="http://www.w3.org/XML/1998/namespace"
> 
> on pretty much every <token-text> element, like:
> 
>   <actions>
>    <do-set-local-variable name="oldDepartmentNumber">
>     <arg-string>
>      <token-text xml:space="preserve"
> xmlns:xml="http://www.w3.org/XML/1998/namespace">
(&lt;font
> color="#2b60de"> Changed from </token-text>
>      <token-local-variable name="destdepartmentNumber"/>
>      <token-text xml:space="preserve"
>
xmlns:xml="http://www.w3.org/XML/1998/namespace">&lt;/font>
> )</token-text>
>     </arg-string>
>    </do-set-local-variable>
>    <do-set-local-variable
name="departmentNumberIsChanging">
>     <arg-string>
>      <token-text xml:space="preserve"
>
xmlns:xml="http://www.w3.org/XML/1998/namespace">1</token-text&g
t;
>     </arg-string>
>    </do-set-local-variable>
>   </actions>
> 
> These are all older policies that were created in iManager, imported in
> to Designer, and have been in Designer projects that have been upgraded
> a bunch of times along the way. I've noticed that a new policy created
> in Designer now doesn't have these, also that Designer doesn't seem to
> be expecting to see them there.
> 
> So are they useful? I'm considering a search-and-remove here to clean
> them up, but I'm hesitant to do so without knowing why they're there or
> what they might be for.
> 
> 
>
---------------------------------------------------------------------------
>  David Gersic                                            dgersic_@_niu.edu
>  Novell Support Forums Volunteer SysOp            http://forums.novell.com
> 
Post Reply
Re: xmlns:xml on token-text ... Is this useful?
Mon, 21 Apr 2008 18:14:35 GMT
On Mon, 21 Apr 2008 17:12:57 GMT, Father Ramon <devforums@novell.com>
wrote:

>My understanding is that the Mozilla Javascript DOM (or was it IE?) 
>stuff wants them there in order to use xml:space, so iManager adds if if 
>it is missing and it thinks it is needed.

Ah, ok, thanks. Must have been from Firefox then, since I don't use IE.

>Removing them probably won't 
>hurt, but they may come back if you edit them using Policy Builder in 
>iManager.

I think I'll just ignore them. Would be nice if Designer would ignore
them, though, since they kinda clutter up the display.


---------------------------------------------------------------------------
 David Gersic                                            dgersic_@_niu.edu
 Novell Support Forums Volunteer SysOp            http://forums.novell.com

Post Reply
about | contact