Giter VIP home page Giter VIP logo

aquapath's People

Watchers

 avatar

aquapath's Issues

Support for XPath variables

From time to time, I need to use XPath variables (e.g. to refer to the same
fairly long path several times in my query, or some other variable-based
reason). It would be nice if it were possible to use them in aquapath when
testing out my query, rather than get unreadable ones taking about twice
the size of the text box.

Original issue reported on code.google.com by [email protected] on 20 Nov 2009 at 11:59

Matched nodes not highlighted in version of AquaPath built from source

I checked out AquaPath from the svn repository and compiled it.  Although the 
version that's 
available as a binary download and this distribution both say version 1.1, the 
binary version 
highlights nodes that match XPath expressions, while the open source version 
doesn't.  Looking in XSLTBasedDHTMLPrettyPrinter.m, I see that the code to 
process matched nodes is commented out.  
I tried uncommenting it, and fooling around with it, but I don't know XSLT from 
a whole in the wall, 
and in addition the referenced TOD_matchedNode style doesn't appear to be 
present in the xsl file 
included with the project.  I assume that you finished this feature and 
included it in the binary 
version, but just hasn't gotten around to checking it into svn.  If there's 
anyway you could do this, I'd 
really appreciate it.

It's a great program, thanks *very* much for open sourcing it.  You're a saint.


Original issue reported on code.google.com by [email protected] on 16 Jan 2008 at 1:14

NSXML bug is affecting the behaviour of AquaPath highlighting

What steps will reproduce the problem?
1. Paste this XML into AquaPath:

<?xml version="1.0" encoding="UTF-8" ?>
<Document>
    <Node>
        <Node>
            <Node>
                <Text>text1</Text>
                <Text>text2</Text>
            </Node>
        </Node>
    </Node>
    <Node2>
        <Node2>
            <Node2>
                <Text>text3</Text>
                <Text>text4</Text>
            </Node2>
        </Node2>
    </Node2>
</Document>

2. Set the context node to /Document/Node/Node/Node
3. Set the XPath to .//text()
4. Evaluate and view the displayed output

What is the expected output? What do you see instead?

The text nodes with the content 'text1' and 'text2' should be highlighted, and 
nothing else.
The actual output has all 4 text nodes highlighted.

What version of the product are you using? On what operating system?

AquaPath 1.1 on Max OS X 10.6.6

Please provide any additional information below.

I submitted this bug to Apple in August. http://openradar.appspot.com/8339557
I have added a workaround in my code but it would be difficult to make it work 
in the general case, especially if using more than one // operator in a path.

Original issue reported on code.google.com by [email protected] on 16 Jan 2011 at 9:50

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.