Support Forums

PrimalXML 2012/2014/2015 cut's off text in Tree Navigation

Product support for PrimalXML users
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
User avatar
LarsLu
Posts: 10
Joined: Thu Feb 01, 2007 10:52 pm

PrimalXML 2012/2014/2015 cut's off text in Tree Navigation

Postby LarsLu » Thu Feb 05, 2015 7:05 am

Hi,

I'm not sure if this is by design (so this would be a feature request), but when I try to navigate in very big XML files with +10000 lines, then it becomes very hard to navigate and find specific info which can't easily be found by using the search function. I need to scroll through the file to find the info.

I scroll down in the Tree Navigation window because it only shows the main branch so it becomes less lines to go through. The problem is that the Tree Navigation window only presents the first 40 characters and hides the rest of the line by adding "..." at the end. I need to see the complete line, because the first 40 characters are often containing the same info.
Expand all doesn't help and I've tried changing different Options.

The xml-window on the right side shows everything and therefore contains too many lines to be able to manually scroll through the file to find the main topics that I'm interested in.

This behaviour is the same in all released versions, I'm currently using PrimalXML 2015 (4.1.35) 64-bit on Windows 7 64-bit English.
Is there a way to configure this to show all characters per line in the Tree Navigation window?

I've attached two pictures:
PrimalXML_2015_Tree_Navigation_window - Shows the 40 ch. limitation.
PrimalXML_2015_XML-file_window - Shows the full line (high-lighted first 40 ch.).

Regards
Lars

PrimalXML_2015_Tree_Navigation_window.jpg
PrimalXML_2015_Tree_Navigation_window.jpg (67.27 KiB) Viewed 4963 times

PrimalXML_2015_XML-file_window.jpg
PrimalXML_2015_XML-file_window.jpg (103.61 KiB) Viewed 4963 times
Last edited by LarsLu on Thu Feb 05, 2015 7:12 am, edited 1 time in total.
User avatar
SAPIEN Support Forums
Posts: 945
Joined: Wed Dec 03, 2014 2:26 pm

PrimalXML 2012/2014/2015 cut's off text in Tree Navigation

Postby SAPIEN Support Forums » Thu Feb 05, 2015 7:05 am

This is an automated post. A real person will respond soon.

Thank you for posting, lars.lundgren@tac.com.

Did you remember to include the following?
    1. Product, version and build (e.g. Product: PrimalXML 2014, Version & Build: 4.0.31. Version and build information can be found in the product's About box accessed by clicking the blue icon with the 'i' in the upper right hand corner of the ribbon.)
    2. Specify if you are running a 32 or 64 bit version
    3. Specify your operating system and if it is 32 or 64 bit.
    4. Attach a screenshot if your issue can be seen on the screen
    5. Attach a zip file if you have multiple files (crash reports, log entries, etc.) related to your issue.

If not, please take a moment to edit your original post or reply to this one.

*** Make sure you do not post any licensing information ***
User avatar
davidc
Posts: 4354
Joined: Thu Aug 18, 2011 4:56 am

Re: PrimalXML 2012/2014/2015 cut's off text in Tree Navigati

Postby davidc » Thu Feb 05, 2015 9:23 am

There is no option to display the full line in the Navigation.

If you are searching for a specific element or attribute, I recommend using the Find Object command located on the Ribbon.

You can also use the Simple XPath search as well.

David
David
SAPIEN Technologies, Inc.
User avatar
LarsLu
Posts: 10
Joined: Thu Feb 01, 2007 10:52 pm

Re: PrimalXML 2012/2014/2015 cut's off text in Tree Navigati

Postby LarsLu » Fri Feb 06, 2015 12:08 pm

Hi David,

Thanks for your reply.

What I mainly do is verifying if a configuration file in XML format has been altered with wrong info. The XML file has 35000 lines, and the info I'm looking for have 250 entries and each of those have around 200 lines with same configuration info, but with different enabled/disabled status.

I have never used Simple XPath Search before, but it looks like I should be able to use it to extract my info (my first attempts so far only gave me the elements, but Value is empty).
Find and Find Object only show single line search result where you can continue to find next, it doesn't show all matched lines at the same time.

Still, it would have been so much simpler if I instead could see the full line in Tree Navigation. :)


Regards
Lars
User avatar
davidc
Posts: 4354
Joined: Thu Aug 18, 2011 4:56 am

Re: PrimalXML 2012/2014/2015 cut's off text in Tree Navigati

Postby davidc » Fri Feb 06, 2015 1:00 pm

Is the enabled / disabled status contained in an attribute or is it just text within an element?

David
David
SAPIEN Technologies, Inc.
User avatar
LarsLu
Posts: 10
Joined: Thu Feb 01, 2007 10:52 pm

Re: PrimalXML 2012/2014/2015 cut's off text in Tree Navigati

Postby LarsLu » Fri Feb 06, 2015 2:07 pm

Hi David,

Nope, that would be too easy! ;)

One entry show "Disabled=203", then it lists all that are disabled.
After that comes the total list of all enabled/disabled, with the enabled ones first in the list.

So you need to get the difference between total and disabled to know how many lines from the total list that are the enabled ones.

Another problem is that some of the main entries end with "(copy)", which means they are only a copy of the configuration and should be ignored.

It also looks like that it in some cases have "wrong" sub-configuration name due to name changes in the application GUI so it uses a GUID name instead of the friendly name.


Regards
Lars
User avatar
davidc
Posts: 4354
Joined: Thu Aug 18, 2011 4:56 am

Re: PrimalXML 2012/2014/2015 cut's off text in Tree Navigati

Postby davidc » Fri Feb 06, 2015 3:49 pm

Sorry to hear that :)

I will put in the feature request.

David
David
SAPIEN Technologies, Inc.
User avatar
LarsLu
Posts: 10
Joined: Thu Feb 01, 2007 10:52 pm

Re: PrimalXML 2012/2014/2015 cut's off text in Tree Navigati

Postby LarsLu » Fri Feb 06, 2015 5:22 pm

Hi David,

Great, thanks! :)

The visual problem in Tree Navigation window also occur for small XML files too with long lines, so for me personally would it be very helpful overall if this get sorted out in a later release.

Thank you very much for quick and professional support!


Regards
Lars
User avatar
davidc
Posts: 4354
Joined: Thu Aug 18, 2011 4:56 am

Re: PrimalXML 2012/2014/2015 cut's off text in Tree Navigati

Postby davidc » Fri Feb 06, 2015 5:31 pm

Happy to help! Or at least try :).

David
David
SAPIEN Technologies, Inc.

Return to “PrimalXML”

Who is online

Users browsing this forum: No registered users and 1 guest