This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268311 - Make link of referenced entities when validating a XML
Summary: Make link of referenced entities when validating a XML
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-02 19:13 UTC by Xenos
Modified: 2016-10-02 19:14 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xenos 2016-10-02 19:13:52 UTC
When you validate a XML, you get a result like this one in the Output window (tab "XML check"):

XML validation started.
Checking file:/E:/Projets/Web/games/dracca/sources/gamebook/livres/livre-1/rediges/161.xml...
Referenced entity at "file:/E:/Projets/Web/games/dracca/sources/gamebook/livres/livre-1/livre-1.xsd".
Referenced entity at "file:/E:/Projets/Web/games/dracca/sources/gamebook/livres/paragraph.xsd".
Referenced entity at "file:/E:/Projets/Web/games/dracca/sources/gamebook/univers/commonTypes.xsd".
Referenced entity at "file:/E:/Projets/Web/games/dracca/sources/gamebook/livres/gamebook-content.xsd".
Referenced entity at "file:/E:/Projets/Web/games/dracca/sources/gamebook/generic-types.gen.xsd".
cvc-complex-type.3.2.2 : L'attribut 'marker' n'est pas autorisé dans l'élément 'animal'. [49] 
XML validation finished.


The XML error ("attribute 'marker' is not allowed") is clickable and opens the XML on the error. But sometimes, I would like not to fix the XML, but to enhance the XSD.

So it would be great if the "Referenced entity at ..." links were clickable, so I could open up the corresponding XSD files in one click (ie: file:/E:/Projets/Web/games/dracca/sources/gamebook/livres/paragraph.xsd).