IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: mwSteidl
About
User Name: mwSteidl
Forum Rank: Member
Real Name: Michael+Steidl
Location AT
Occupation: +
Interests:
Gender: Female
Statistics
Joined: Wednesday, March 23, 2005
Last Visit: Thursday, February 20, 2014 4:55:45 PM
Number of Posts: 20
[0.11% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Sample XML file with multiple choices?
Posted: Monday, January 9, 2012 2:12:00 PM
We are using an XML Schema which has parent element with many child elements as multiple choices, see the diagram below.

Using the Generate Sample XML File function creates the parent element but only with the first child element as single child.
Is there any parameter for the Generate ... function to add all choices to the parent element?



Topic: XMLspy 2012 SP1: does not like the file: URL schema
Posted: Friday, December 9, 2011 9:00:51 AM
Agreed: files should be accessed by the rules of RFC1738 - but why does XMLspy accept href="C:\aPath\aFile.xslt", that's confusing. By the XSLT 1.0 specs the @href of xsl:import is a uri-reference, therefore using a local file path is actually an implicit use of the file URI scheme and as a result also C:\aPath\aFile.xslt should throw an error.



Topic: XMLspy 2012 SP1: does not like the file: URL schema
Posted: Tuesday, December 6, 2011 10:21:13 AM
I've been using a line like this one in my XSLT documents:
<xsl:import href="file:///C:\aPathOnMyHarddisk\file.xslt" />

Opening such an XSLT with XMLspy 2012 SP1 throws an error: "The syntax for the file name, ... is wrong"

When removing the "file:///" string XMLspy is happy.

Apparently there is something wrong as I did not change the file name, I only removed the URL schema identifier.

Altova, please make XMLspy compliant with the file scheme from the IANA Scheme registry - http://www.iana.org/assignments/uri-schemes.html - again.

thanks
Michael


Topic: Why not 2 xsi:schemaLocation in one XML document
Posted: Tuesday, May 25, 2010 3:04:15 PM
We have a workflow for wrapping multiple XML documents by a wrapper instance, the resulting XML looks like this:
<newsMessage xmlns="http://iptc.org/std/nar/2006-10-01/" xsi:schemaLocation="http://iptc.org/std/nar/2006-10-01/ NAR_1.8-spec-All-Power.xsd">
<itemSet>
<conceptItem xmlns="http://iptc.org/std/nar/2006-10-01/" xsi:schemaLocation="http://iptc.org/std/nar/2006-10-01/ NAR_1.8-spec-All-Power.xsd" >
...
</conceptItem>
</itemSet>
</newsMessage>

But this throws an error in XML Spy 2010 rel 3: "The 'schemaLocation'attribute references a schema whose target namespace was already used for validation".

1. Which W3C recommendation does not allow assigning the same XML Schema to the same XML Namespace multiple times.
2. Can anybody explain what ".. namespace was already used for validation" means - we always thought XML Schemas are used for validation, the namespace is used only for scoping.

Interesting enough this XML does not throw an error in XML Spy 2006...., ok, times are changing.

Thanks.


Topic: Ver 2010 R3 - installation gets stuck by Win Explorer
Posted: Tuesday, May 25, 2010 2:45:20 PM
Hm, actually I can't remember exactly if I've run XML Spy on my Win7 64-bit machine, and it is very likely that I used XML spy on the Vista 32-bit PC. But this is the typical use case: I start XML Spy, get the message that an update is available, download it and install it - possibly later that day but usually not in the morning right after starting up. And I never experienced such errors ever before.
Ok, will check if I've used an Altova application at the time of the next update.


Topic: Ver 2010 R3 - installation gets stuck by Win Explorer
Posted: Friday, May 7, 2010 10:32:14 AM
I've installed Altova Mission Kit 2010 rel 3 for Enterprise on Windows Vista 32-bit and Windows 7 64-bit and got the same error on both systems:
after some installation activities a pop-up opens claiming "Files in Use" and that an application is "using a file which needs to be updated by this setup". This application is: Windows Explorer.

I can only continue with the installation after shutting down the Explorer by the Task Manager. Then I have to restart my computer. Very inconvenient.

As the same issue happened on both computers this cannot only be a bad coincidence.


Topic: Scripting Environment: is there a debugger at all?
Posted: Monday, March 16, 2009 1:49:18 PM
The "Show Macros..." dialog shows a "Debug" button and the script text windows of the XMLSpyFormEditor allow to set a Breakpoint for specific code lines.

If I click on this "Debug" button only the default debugger of my PC is launched - but that's all.

This worries me - is there a debugger in the scripting environment at all? Also the help file is mute on this topic.

Any hints welcome



Topic: xslt:output method vs file extension
Posted: Tuesday, January 13, 2009 10:41:39 AM
Hi Vlad

looking forward to see this feature. When to expect this version?

Michael


Topic: xslt:output method vs file extension
Posted: Monday, January 12, 2009 10:58:33 AM
I'm using: XML Spy version 2008 rel 2 sp1

Apparently there is an internal fight over the XSLT output format between the xslt:output@method and the setting of the file name extension of the XmlSpy Options - and the Option wins:

- I set <xsl:output method="text" ...

- The output filename extension is set to ".html"

- The output windows launches the html browser module and not the plain text module.

I feel the xsl:output@method should come first and then the file name extension. The result is that for switching between XSLTs using method "text" and "html" I always have to align the file name extension in the options - kind of boring if you have to do this 10 times an hour.

Michael


Topic: XMLspy: doc size limitation?
Posted: Wednesday, January 9, 2008 7:16:48 PM
Excellent guess: it is an 0x0 character. Ok, then I'll turn to the Altova support.

Thanks for pointing this out.

Michael


Use of the Altova User Forum(s) is governed by the Altova Terms of Use.