XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
- Stylus Studio Feature Requests (1192)
-> - Bug: yellow infobox does not d... (1)
-> - Feature request: "Open file" d... (1)
-> - Bug: Indenting multiple lines ... (1)
-> + Feature request: remove limita... (3)
-> - automate the convert EDI To XM... (1)
-> - Feature request: Horisontal sc... (1)
-> - Feature speedup: "find as you ... (1)
-> + Bug (?): Page up/down don't go... (3)
-> - Feature request: "Open file" d... (1)
-> + Search Preview Window (2)
-> - Feature request: Upper/Lower c... (1)
-> - Feature request: Toolbar locki... (1)
-> - Feature request: File Explorer... (1)
-> - Editing Large Text Files and c... (1)
-> - Stylus Studio Support of XIncl... (1)
-> + Implement Web Service Provider... (3)
-> - Modifying Cargo schemas (1)
-> + Manual for Professional Editio... (3)
-> - Improved support for xsd:exten... (1)
-> - Parameter value for processing (1)
-- Previous [61-80] [81-100] [101-120] Next
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Roedy GreenSubject: Tidying XML
Author: Roedy Green
Date: 18 Jan 2010 09:00 PM
I noticed that the reindent feature of XML sometimes introduces a blank line at the top and removes the final CrLf at the end of the file.

It would be nice if the final product had no blank lines top and bottom and if the last line had its CrLf (or other terminator).

Also the indenter refuses to reindent, if it cannot access the schema, even when the document is otherwise well-formed. It should complain and go ahead anyway.

The indenter refuses to reindent XML fragments - pieces of XML that are balanced and well formed in themselves, but have no overarching single tag spanning the entire body. It would be nice if there were a way to reindent these, without having to temporarily provide a dummy spanning tag. Perhaps an extension *.xmlfrag.

I build XML files from fragments and also explain things bit XML fragments on my website http://mindprod.com in the Java Glossary.

I thought that was quite clever of you to specify a column beyond which you permit breaks at attributes. That is really the way the end user thinks about it.

One final unrelated request. Java's built in parser to validate documents to an XSD scheme gives quite unfriendly error messages. It would nice if there were a replacement that could be embedded in your programs.



Roedy Green
Canadian Mind Products

Postnext
Ivan PedruzziSubject: Tidying XML
Author: Ivan Pedruzzi
Date: 20 Jan 2010 10:32 AM
<<"One final unrelated request. Java's built in parser to validate documents to an XSD scheme gives quite unfriendly error messages. It would nice if there were a replacement that could be embedded in your programs.">>


Stylus Studio provides access to several XML Schema processors,
in addition you can register your own processor, details at
http://www.stylusstudio.com/xml_parsers.html

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Postnext
Roedy GreenSubject: Tidying XML
Author: Roedy Green
Date: 25 Jan 2010 03:20 AM
><<"One final unrelated
>request. Java's built in
>parser to validate documents
>to an XSD scheme gives quite
>unfriendly error messages. It
>would nice if there were a
>replacement that could be
>embedded in your
>programs.">>
>
>
>Stylus Studio provides access
>to several XML Schema
>processors,
>in addition you can register
>your own processor, details at
>http://www.stylusstudio.com/xm
>l_parsers.html

I would like to make my OWN programs validate configuration files that end users compose, giving them friendly error messages. They won't have a copy of Stylus Studio. I was hoping for a bit of the functionality of Stylus Studio than could be embedded in my own code.

Possibly Stylus Studio might generate Java code to validate a specific schema. So the exposed part would not be useful to other programmers, just end users.


Posttop
Ivan PedruzziSubject: Tidying XML
Author: Ivan Pedruzzi
Date: 26 Jan 2010 10:11 AM

If you have Stylus Studio Enterprise edition, you could build a simple pipeline then generate the Java code

Ivan Pedruzzi
Stylus Studio Team

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.