Git Product home page Git Product logo

xmlview's Issues

Feature request: Persistent highlighting

When I enter an XPath expression that matches a single node, or I click on a node in the outline panel, the node is highlighted in the code panel for about a second. I would prefer if the node stayed highlighted as long as the XPath expression input field is filled in or the node is selected in the outline panel.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Feature request - clickable hyperlinks

A really great feature (particularly for RSS/ATOM feeds) would be auto-detecting URLs in the XML and converting them to hyperlinks that open in a new tab. Thanks for considering!

Also want to say thank you for all the work you've put into this extension. We deal largely with delivering Media RSS feeds at my company, and now that this supports intercepting these feeds, it has become indispensable for us. Do you have a donation page? Thanks again!

Does not work with file:// handler

Trying to load a local XML using file://… shows only values as flowed text, i.e. as it does without the extension installed.

Using Chrome 10.0.648.127 on Mac OS X 10.6.6

Fails to render in chrome 18.0.1025.168 on Ubuntu 10.04

So I've installed it, and refreshed the page... nothing happens to the XML display...

I'm not sure if this is a conflict with another XML viewer ?

I installed XML Tree 1.9.1.9 before this plugin ... but no pretty xmlview rendered XML .. even after disabling the XML Tree

Блокирует загрузку блока с папками у авторизованного пользователя на Кинопоиске

Авторизованные пользователи сайта Кинопоиск могут добавлять фильмы в свои заранее созданные папки. Эта возможность перестаёт работать при включенном этом плагине (проверялось в Google Chrome 27.0.1453.93 под OSX 10.8.3).

Например, для этого фильма у авторизованного пользователя блок под обложкой без включенного плагина выглядит так:

А со включенным плагином так:


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Doesn't seem to work in Chrome 31.0.1636.2 dev-m Aura

You see the XML flash for a second and then you get a blank screen with the xpath query box. The following is logged in the console:

Error in event handler for (unknown): TypeError: Not enough arguments
    at chrome-extension://eeocglpgjdpaefaedpblffpeebgmgddk/controller.js:125:43
    at extensions::messaging:327:9
    at Function.target.(anonymous function) (extensions::SafeBuiltins:19:14)
    at Event.dispatchToListener (extensions::event_bindings:386:22)
    at Event.dispatch_ (extensions::event_bindings:371:27)
    at Event.dispatch (extensions::event_bindings:392:17)
    at dispatchOnMessage (extensions::messaging:294:22) 

which points to the document.implementation.createDocument() call in the doTransform() function.

Displaying broken xml

when the xml rendered is broken, an error message shows briefly only to be removed by the UI. It's a shame as you don't know what the problem is any more.

Cheers,
Boaz

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

new Image + canvas = TypeError

Вот пример — http://jsfiddle.net/TPjmr/1/

// не работает
var img = new Image;
img.onload = function (){
    context2d.drawImage(img, 0, 0); // Type Error
};

// работает
var img = document.createElement('img');
img.onload = function (){
    context2d.drawImage(img, 0, 0);
};

Plugin doesn't work in Yandex.browser

Sergey, hello.

I use your plugine every day. It really helps me in my routine work.
Unfortunately it doesn't work in fresh Yandex.browser (browser.yandex.ru)

MacOs 10.7.4

Can you help me with Y.browser?

Chrome version 12 (beta)

Is this extension supposed to be working with Chrome version 12 beta (under OSX) ? Doesn't seem to be ...

Thanks,

Won't open xml files

I installed this extension from the Google Chrome App site, restarted Chrome, and can see 'XV - Xml Viewer' as enabled in the Extensions page, but it just flat out won't work. I opened an xml file on my computer using Chrome and it looks exactly like it did before I installed the extension. Am I doing something wrong? The name of the file is 'registrymodifications - Copy.xml' and it is in my C:\Users\Christian\AppData\Roaming\LibreOffice\3\user\ directory. I am running Chrome 'Version 32.0.1700.76 m' on a Dell Precision T3500 with Windows 7 Pro 64-bit (SP1). Intel Xeon CPU, W3530 @ 2.80 GHz. 12GB RAM.

Any ideas what's going on?

Christian

Firefox Support?

Hi! I'm switching back to Firefox and I was hoping I would not love the xmlview extension. Is there any chance to add support for FF?
Thanks!

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Blocks Flickr Images

I've noticed that when this plugin is activated, the main photo on a flickr page isn't viewable. The error that pops up is the following

Uncaught Error: NotFoundError: DOM Exception 8 - 8722793187:171
F.photoFetcher.loadPhoto - 8722793187:171
(anonymous function) - 8722793187:350


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Doesn't work if XML file has a stylesheet

Would it be possible to add a feature to ignore the presence of a stylesheet in the XML file? With the presence of an xslt at the top of an XML file, this otherwise fantastic plugin never loads.

If I save the XML to disk, strip the stylesheet line, and drag it onto Chrome, it opens. It would be nice to tell xmlview to completely ignore stylesheets or have some way of activating xmlview another way if a stylesheet is specified (a stylesheet which, by the way, never loads in Chrome - at least not in my case - and all I see is a blank page; I can still view source, though).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Usage

How do I use this? It's visible in Chrome's Extensions tab, but there's no mention of it anywhere in any of the menus, the wrench icon or the toolbar.

Chrome 17.0.928.0; Mac OS X 10.7.2

Feature request: Multinode highlighting

While it is nice that if I enter an XPath expression matching multiple nodes it shows me the full XPath of each matching node as a dropdown list, it is pretty inconvenient that I have to go and select each one in order to know where those nodes reside in the code. I would like to have both features:

  • be able to know the full XPath of any node
  • have all matching nodes higlighted (and selected in the outline panel) and selected in the outline panel after entering an XPath expression.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3981860-feature-request-multinode-highlighting?utm_campaign=plugin&utm_content=tracker%2F25823&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F25823&utm_medium=issues&utm_source=github).

Links break at '(' char

Hi,

In a XML I am viewing there are some links with '(' character. I think it's a valid URL character since it works and it's not encoded by 'urlencode'.

XV breaks the link at the first '(', for example:

href="http://example.com:8080/job/Task%20(Preview)/72/"
-----------------------------------------^

Build doesn't work out of the box

bash-3.2$ ant
Buildfile: /Users/leonid/workspace/xmlview/build/build.xml

BUILD FAILED
/Users/leonid/workspace/xmlview/build/build.xml:4: Cannot find /Users/leonid/workspace/xmlview/ant-tools/webtasks.xml imported from /Users/leonid/workspace/xmlview/build/build.xml

Build instructions would be nice to have as well

Plugin does not work for a lot of URLs

I see lots of complaints about this plugin "not working" or people not knowing how to "turn it on" or "activate" it. Unfortunately nothing concrete has been given to the developer as a Steps To Reproduce. Clearly, the developer is not a fool and would not release this if it simply did not work. So, let us, as a community, help the developer make this product more robust by giving specific examples.

If you cannot provided a link to the specific xml in question, capture it (or a anonymized/sanitized facsimile of it) to a file on Dropbox. Just do something to be helpful, instead of complaining in a non-constructive fashion.

This post is just to introduce the issue. I'll start us off in my first reply to this thread.

Doesn't work inside a frame.

If you have an html page that contains 2 frames, XML won't be decoded in either frame. Only seems to work in top level windows. Would be nice if it worked with any XML response regardless of frame/iframe etc....


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Расширить режим Quick XPath

Очень не хватает получать путь XPath ноды или атрибут, как в XML Tree, думаю это можно добавить в режим Quick XPath по Shift добавить во варианты полный и относительные пути.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Некорректная работа jquery append(new Image())

Когда запущено расширение функция

$('#some_element').append(new Image()) 

выбрасывает исключение.
Пример http://jsfiddle.net/lavrovdv/GAAHJ/2/.
Так же при выключенном расширении есть проблема с отображением http://maps.yandex.ru/ карт, изображение карты пропадает при изменении масштаба или сдвиге карты.

Feature request: Option to ignore whitespace nodes

…just like Saxon command-line option -strip (all|none|ignorable).

Specifies what whitespace is to be stripped from source documents (applies both to the principal source document and to any documents loaded for example using the document() function. The default is none: no whitespace stripping. Specifying all strips all whitespace text nodes from source documents before any further processing, regardless of anyxsl:strip-space declarations in the stylesheet, or any xml:spaceattributes in the source document.Specifying ignorable strips all ignorable whitespace text nodes from source documents before any further processing, regardless of any xsl:strip-space declarations in the stylesheet, or any xml:space attributes in the source document. Whitespace text nodes are ignorable if they appear in elements defined in the DTD or schema as having element-only content.

Whitespace nodes are a problem when processing plist XML files, since it makes node order numbering in XPath expressions rather unintuitive. As an example, using this XML as source:

<plist version="1.0">
<dict>
    <key>people</key>
    <dict>
        <key>teacher01</key>
        <string>John Smith</string>
        <key>student01</key>
        <string>Michael Jackson</string>
        <key>student02</key>
        <string>John Whitney</string>
    </dict>
</dict>
</plist>

One would think that:

//key[text()="people"]/following::node()[1]/key

would match <key> nodes with values teacher01, student01, student02. Yet in XV or pretty much any other XPath interpreter it matches nothing, since that following::node()[1] matches a whitespace node that comes before the <dict> that contains the key nodes we were trying to target. In order to match those nodes one needs:

//key[text()="people"]/following::node()[2]/key

which makes little sense to me. Similarly, to match the node <string> with value John Smith, the following wouldn't work:

//key[text()="people"]/following::node()[1]/key[1]/following::node()[1]

because bumping both following::node order number +1 is required, yet apparently not so for that child <key>, for whatever reason:

//key[text()="people"]/following::node()[2]/key[1]/following::node()[2]

In order to avoid all this nonsense in XSLT, one can use the element <xsl:strip-space elements="dict"/>, which overrides whatever the value of Saxon CL's -strip option is, and altogether acts as if those nasty whitespace nodes did not exist (and thus, all those expressions that I said did not work, work). Yet, if I use that option in my XSLT stylesheet, it then becomes impossible to test, outside of the XSL stylesheet itself, the XPath expressions that I use inside of it.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Prevents loading of some images in latest version of Chrome for windows.

See the following (might be easiest to start from the end):
CreateJS/EaselJS#321 (comment)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3981845-prevents-loading-of-some-images-in-latest-version-of-chrome-for-windows?utm_campaign=plugin&utm_content=tracker%2F25823&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F25823&utm_medium=issues&utm_source=github).

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.