View Single Post
  #12  
Old September 16th, 2004, 06:22 AM
Mark Nelson [MS]
external usenet poster
 
Posts: n/a
Default

In this context, trusted XML is simply XML emitted by Visio. Whenever Visio
saves out XML, the file includes a special checksum that is generated from
the timestamp and contents. Upon load back into Visio, if the file has not
been externally modified, it is read in without a recalc. If the file has
been altered, Visio considers the file untrusted and must do a full recalc.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

"Mark Tangard" wrote in message
...
Thanks. Where is there some sort of primer re trusted/untrusted XML? I'm
not familiar with this concept.

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters

Mark Nelson [MS] wrote:
Yes, it is one method of cleaning out bad bits. Using "untrusted" XML in
Visio causes a total recalc of the shapesheet. This is great for
rebuilding
files but load time for the file is slower than binary or trusted XML.

-- Mark Nelson Microsoft Corporation This posting is provided "AS IS" with
no warranties, and confers no rights. "Mark Tangard"
wrote in message
...

Mark,

Wow. This worked!! I confess I have absolutely NO CLUE what saving as
XML actually *does*, but it sure banished the evil spirits. Is this
essentially a way to "decompose" a drawing & then reassemble its
freshly
aired-out components?

Thanks very much.

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters


Mark Nelson [MS] wrote:


Very strange. You might try round-tripping the file through XML

to see

if

it can clean itself up. Save the document as VDX. Then open the

file

in

Notepad or another editor. Make some harmless change like adding a


space

and deleting it again, then resave the file. Now reopen the file in


Visio.



-- Mark Nelson Microsoft Corporation This posting is provided "AS IS"
with no warranties, and confers no rights.

"Mark Tangard" wrote in message
...

I'd been try to set it through the Text dialog. With the
Shapesheet


it

also fails, but with different error language: "An Error (1)

occurred
during the action Set Formula or Name. Unexpected end of file."

Curious....

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters


Mark Nelson [MS] wrote:

Are you setting the margin through the Text dialog or via the

Shapesheet?

Does the other way also cause the same problem?


-- Mark Nelson Microsoft Corporation This posting is provided

"AS IS"
with no warranties, and confers no rights. "Mark Tangard"
wrote in message
...

On a flowchart I have, if I try to change the Top Margin

spec for

a

given (or several) Text Block(s), I get a message citing Error


3400,

Action 1642, and suggesting I close & reopen.

Closing/reopening has no effect. I can't change the top margin
on any
of the shapes. There's nothing unusual about the diagram.
It's
got 7
shapes (all the same style), 6 connectors (ditto). One of the
shapes

is

pretty full and I've done a fair amount of paragraph-space


adjusting


to

fit all the text. The file was created just recently (and so
was the
template on which it's based). Other files allow this
operation

without

problems.

Any ideas how to fix this? Visio 2003, WinXP.

Thanks,

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters