Stylus Studio® 6 Release 2 (Build 287n)
Recent Changes and Fixes
This document contains information specific to the current release of Stylus
Studio® 6 Release 2, Build 287n, as well as all previously released 287 builds.
Consult the Stylus Studio Release Notes and readme that are part of the Stylus Studio 6 Release 2
installation package for other important information.
Changes and Fixes in Stylus Studio 6 Release 2 Build 287n
The following changes are introduced with Build 287n:
Bug Fixes
- XML Schema Editor Schema Diagram
- Stylus Studio XML Schema diagram didn't include project catalogs in its search for imported XML Schemas. This has been fixed in the current build.
Changes and Fixes in Stylus Studio 6 Release 2 Build 287m
The following changes are introduced with Build 287m:
Bug Fixes
- XML Editor Grid View
- Stylus Studio could sometimes crash when clickng the handle used to move a column in the Grid View. This has been fixed in the current build.
- When very long column names were added in the Grid View, the horizontal scrolling was not always sufficient to display the entire column name. This has been fixed in the current build.
- Stylus Studio would sometimes crash when adding a column (element) in an otherwise empty XML document. This has been fixed in the current build.
- Convert to XML
- Stylus Studio did not recognize that characters with a Unicode value of less than 0x20 cannot be rendered in XML and would, therefore, display files containing characters with these values incorrectly in the Convert to XML Editor. Characters with hex values of 0x20 and lower are not output to XML.
- Stylus Studio would sometimes misinterpret columns without data in files to be converted to XML, resulting in misaligned headings in the Convert to XML Editor. This has been fixed in the current build.
- Stylus Studio would sometimes crash when drawing the rule in the Convert to XML Editor. This has been fixed in the current build.
- XSLT Mapper Stylus Studio would sometimes change
div
expressions to /
. This has been fixed in the current build.
- Other Stylus Studio would display the "File does not exist" message if you tried to open a file hosted on a server that did not support the HTTP
HEAD
command. This has been fixed in the current build.
Changes and Fixes in Stylus Studio 6 Release 2 Build 287l
The following changes are introduced with Build 287l:
Bug Fixes
- XSLT
- The WYSIWYG Editor would sometimes replace
xsl:value of
statements with literal text. This has been fixed in the current build.
- The XSLT processor would create incorrect results when trying to create an XML Schema from an XSLT stylesheet. This has been fixed in the current build.
- The XSLT Mapper could sometimes crash when using XML Schema that was not well-formed as a source document and then dropping other documents onto the source. This has been fixed in the current build.
- XQuery
- In the XQuery Mapper, Stylus Studio would sometimes replace an attribute's literal value with an entity (the text value
"a"
would appear as '"a"'
, for example). This has been fixed in the current build.
- When dragging a repeating element into the XQuery Editor's Source pane to create a FLWOR expression, the pop-up window displaying the FLWOR expression could sometimes be truncated if the expression was particularly long. In addition, the horizontal scroll bar would not work. This has been fixed in the current build.
- The XQuery Mapper could sometimes crash when using XML Schema that was not well-formed as a source document and then dropping other documents onto the source. This has been fixed in the current build.
- XML Schema
- Previously, if you had two open schemas, changes made in the first schema were lost if you switched to the second schema, saved it, and then returned to the first schema. This has been fixed in the current build.
- Stylus Studio could sometimes crash when using the Redefine feature in the diagram pane of the XML Schema Editor. This has been fixed in the current build.
- The first operation performed in the diagram pane of the XML Schema Editor after indenting the text (Edit > Indent XML Tags) could sometimes corrupt the XSD document. This has been fixed in the current build.
- Stylus Studio could sometimes crash when dragging a sequence node and dropping it on an expanded reference. This has been fixed in the current build.
- Sense:X The Sense:X auto-completion feature did not always display values for newly created
xsl:for-each
statements after choosing select
. This has been fixed in the current build.
Changes and Fixes in Stylus Studio 6 Release 2 Build 287j
The following changes are introduced with Build 287j:
Bug Fixes
- XSLT Mapper
- When a new template is created using the mapper canvas shortcut menu, the template context now automatically changes to the newly created template.
- The blue cursor in the text pane would sometimes appear on the last line of XSLT after some mapping operations. This has been fixed in the current build.
- The source tree pane would sometimes appear along with the text pane. This has been fixed in the current build.
- Stylus Studio would sometimes switch the active template when previewing transformations. This has been fixed in the current build.
- XQuery
- Stylus Studio did not always generate braces (
{ }
) for XQuery functions mapped to attributes in the XQuery Mapper. This has been fixed in the current build.
- The FLWOR acronym in the XQuery Mapper was misspelled. This has been fixed in the current build.
- In some situations, it was not possible to delete a function block from the Mapper canvas. This has been fixed in the current build.
- Stylus Studio did not always correctly update XQuery text when deleting choose blocks from the Mapper canvas. This has been fixed in the current build.
- The built-in XQuery processor could cause Stylus Studio to crash when using
fn:replace
with certain parameters. This has been fixed in the current build.
- XML Schema
- Unbounded elements defined in XML Schema (
maxOccurs="unbounded"
) were not being displayed with the "repeatable" icon in XQuery and XSLT Mapper. This has been fixed in the current build.
- The XML Schema to XML document wizard did not always correctly generate namespaces for elements and attributes when the root element was defined with a namespace but the child elements had no namespace. This has been fixed in the current build.
- Stylus Studio would sometimes crash during schema validation if the design used two XML Schemas, each of which referred to the other using
xs:import
. This has been fixed in the current build.
- Stylus Studio would sometimes generate spurious error messages for XML Schemas with
xs:import
elements without any attributes defined for them. This has been fixed in the current build.
- Convert to XML Adding a second match pattern in fixed-width regions could sometimes cause Stylus Studio to crash. This has been fixed in the current build.
- Other
- When accessing files on a remote server that uses UNC, Stylus Studio now displays a dialog box that allows you to log in to that server.
- Output from XSLT transformations displayed in the Preview window was sometimes truncated when the transformation was run multiple times. Long lines are now wrapped appropriately.
- Stylus Studio disregarded the notch/scroll setting for mouse wheels. This has been fixed in the current build.
Changes and Fixes in Stylus Studio 6 Release 2 Build 287i
The following changes are introduced with Build 287i:
Bug Fixes
- Stylus Studio Projects Changes to projects (such as adding and removing files) were lost when Stylus Studio was closed unless a document was also opened. This has been fixed in the current build.
- XML Schema Diagram
- Stylus Studio could sometimes crash if you changed the name of a newly added element in the root block of an expanded reference. This has been fixed in the current build.
- Stylus Studio could sometimes crash when using Quick Edit to derive (by extension or restriction) a complex type that was not fully defined. This has been fixed in the current build.
- Stylus Studio could sometimes crash if you attempted to remove a node while you were using in-place editing to change its name. This has been fixed in the current build.
- XSLT
- Relative paths for included documents were not always properly resolved by Stylus Studio. This has been fixed in the current build.
- The Run to Cursor feature (Ctrl + F10) of the XSLT Debugger could sometimes cause Stylus Studio to crash when a breakpoint was set on a
for-each
instruction. This has been fixed in the current build.
- XQuery
- The XQuery Mapper could sometimes crash if you attempted to use an empty document (for example, a converter (
.conv
whose source document has been deleted) as a mapper source. This has been fixed in the current build.
- Stylus Studio would create duplicate variables when using the XQuery Mapper to create
for-each
statements on tags with the same name. This has been fixed in the current build.
- Stylus Studio would sometimes create the wrong
WHERE
conditions on nested FLWOR statements created in the XQuery Mapper. This has been fixed in the current build.
Changes and Fixes in Stylus Studio 6 Release 2 Build 287h
The following changes are introduced with Build 287h:
Bug Fixes
- Line Wrapping Stylus Studio could sometimes crash if line wrapping (Edit > Wrap Lines) was enabled when the cursor was at the end of a line. This has been fixed in the current build.
- XML Schema Validation
- The .NET XML Parser could sometimes cause Stylus Studio to crash when validating XML Schema with facets. This has been fixed in the current build.
- Stylus Studio did not always correctly interpret macros specified in the Initial Directory field. This has been fixed in the current build.
- DTD Tree View Renamed DTD nodes would sometimes disappear from the Tree tab, and could sometimes cause Stylus Studio to crash when re-added. This has been fixed in the current build.
- Inline Database URLs Stylus Studio would not always resolve inline database specified in the Open dialog box (
db:jdbc:datadirect:jxtr:sqlserver://localhost;schema=dbo;table=employee;user=sa;DatabaseName=pubs;urltype=.xml
, for example). This has been fixed in the current build.
- Output Window The Output Window did not support non-Latin characters (such as Kanji, for example). This has been fixed in the current build.
- Convert to XML When converting large (greater than 2MB, for example) files, Stylus Studio did not always display a prompt that allows you to load only a portion of the file. This has been fixed in the current build.
- XSLT Mapper Stylus Studio could crash when analyzing a template that outputs XML that is not well-formed. This has been fixed in the current build.
Changes and Fixes in Stylus Studio 6 Release 2 Build 287g
The following changes are introduced with Build 287g:
Bug Fixes
- Convert to XML
- When editing field names in the document pane, the entry field would sometimes extend beyond the Stylus Studio window. This has been fixed in the current build.
- Stylus Studio did not always properly handle the final region in an input file if that region did not have an end-of-line character specified in the Properties window. This has been fixed in the current build.
- XQuery
- Mapper
- The yellow marker used during debugging was not always displayed. This has been fixed in the current build.
- Attributes created by mapping document nodes were not always created if the attributes were not mapped in the order in which they were specified. This has been fixed in the current build.
- Stylus Studio would sometimes crash after deleting a FLWOR block, after first deleting a value-of link. This has been fixed in the current build.
- Editor In some unusual cases, Stylus Studio could crash when trying to open a file in the XQuery Editor. This has been fixed in the current build.
- Mark Logic Integration
- When an XDBC server was not available or the connection port was incorrectly specified, Stylus Studio would display error messages passed from Mark Logic that were difficult to interpret. This has been fixed in the current build.
- Stylus Studio's Sense:X auto-completion would not always successfully complete closing tags in documents read from a Mark Logic server . This has been fixed in the current build.
- XML Schema Editor
- Stylus Studio would sometimes display an empty message box after you declined to assign an unknown type to an element you were editing. This has been fixed in the current build.
- In some situations, Stylus Studio could crash when opening an XML Schema that referenced other XML Schemas that it could not locate. This has been fixed in the current build.
- Stylus Studio could sometimes crash if you attempted to move several expanded subelements in the Diagram view as a group. This has been fixed in the current build.
- Imported XML Schemas with an invalid URI could sometimes crash Stylus Studio. This has been fixed in the current build.
- Adapters
- Fully specified URLs using an adapter (such as
adapter:log.conv?file:///c:/ex040412.log
, for example) would not always open correctly. This has been fixed in the current build.
- If you specified the input file in
createStylusFile
using getInputStream
, Stylus Studio wrote the contents of the converter (.conv
) file, and not the input file, to the output stream. This has been fixed in the current build.
- Executing an XQuery from the command line using
stylusxql
would fail if you used an adapter URL to specify the input file (-in adapter:///myConverter.conv myquery.xquery
, for example). This has been fixed in the current build.
- The adapter file system relied on a Java class that no longer ships with JDK 1.5, which would cause Stylus Studio to hang when trying to open an adapter URL that used a
.conv
file. This has been fixed in the current build.
- XSLT
- Stylus Studio could crash when trying to open a stylesheet in which the root element of an included document had no children. This has been fixed in the current build.
- Stylus Studio could crash when backmapping from the Preview window after performing a Save As. This has been fixed in the current build.
- Stylus Studio could crash when using large or complex XML Schema or DTD as a source or target document in the XSLT Mapper. This problem has been fixed in the current build.
- In some situations, Stylus Studio would not delete links in the XSLT Mapper when they were rendered using lines (instead of blocks). This problem has been fixed in the current build.
- If you renamed a scenario in the Scenario name field of the Scenario Properties dialog box, Stylus Studio would crash if you attempted to select an existing scenario before saving your change. This has been fixed in the current build.
- Deleting the last scenario displayed in the Existing scenarios dialog box and then closing Stylus Studio without saving the stylesheet could crash Stylus Studio. This has been fixed in the current build.
- XML Grid Editor Elements added to a table in the XML Grid view using the menu (XML > Add Element Column did not appear in the Text view. This problem has been fixed in the current build.
- PDF Documentation In order to view the PDF version of the Stylus Studio 6 User Guide, you need to use Adobe Acrobat Reader 6 or greater. You can get the latest version of Adobe Acrobat Reader for free, here. If you use an earlier version of Adobe Acrobat Reader, you might encounter errors in the Adobe Acrobat Reader such as
There was a problem reading this document (14)
and This file contains information not understood by the viewer. Suppress further errors?
.
Changes and Fixes in Stylus Studio 6 Release 2 Build 287e
The following changes are introduced with Build 287e:
Bug Fixes
- Convert to XML
- Stylus Studio would sometimes change the name of the first column, and not the column you selected to rename, when a commented row in the document grid had focus. This has been fixed in the current build.
- If you opened a file using a converter (
.conv
), Stylus Studio would overwrite the original file with the XML document translation when you saved the document. This has been fixed in the current build.
- Adapters whose URLs contained spaces would cause a Java error to be thrown when the URL was parsed. This has been fixed in the current build.
- Opening a converter (
.conv
) file as an XML document (as a source document in the XQuery Mapper, for example) now performs the transformation specified in the converter.
- Java compiler The Java compiler failed to resolve spaces in path names specified in the Classpath field in the Java Virtual Machine page of the Options dialog box. This has been fixed in the current release.
- Line-wrapping If line-wrapping (Edit > Wrap Lines) was enabled, Stylus Studio could sometimes crash when the window was resized. This has been fixed in the current build.
Enhancements
- Convert to XML If you specified an invalid value for the name of a new converter, Stylus Studio displayed an error message and aborted the operation. Stylus Studio now returns you to the New Converter dialog box so that you can try again.
- XQuery Mapper Stylus Studio would leave empty parent elements specified in the target document when deleting the link between source and target documents. Stylus Studio now displays a prompt asking you whether or not you want to leave empty parent elements in the target document.
- File System Java API The
StylusFileFactory
class includes a new method, createStylusFile (String url, InputStream is)
, which allows you to define an input document using a Java InputStream
object as the source. For more information, see the Stylus Studio File System Java API Javadoc.
Stylus Studio® 6 Release 2 (Build 287m) -
stylusstudio_latestfixes_web.htm