RE: Project's pom.xml contains invalid xml content. Please fix the file before proceeding.

2020-04-11 Thread Eirik Bakke
> XML namespaces look like urls by convention, but are not meant to actually be 
> treated as urls and resolved.

Exactly this. I was plenty confused about this the first time I learned about 
XML namespaces...

Just consider them opaque identifiers, to match the namespace in the schema 
character-by-character. So don't try to replace "http" with "https".

From: Eric J. Schwarzenbach 
Sent: Friday, April 10, 2020 12:29 PM
To: users@netbeans.apache.org
Subject: Re: Project's pom.xml contains invalid xml content. Please fix the 
file before proceeding.


XML namespaces look like urls by convention, but are not meant to actually be 
treated as urls and resolved. Is 
"https://maven.apache.org/POM/4.0.0; 
actually a valid namespace for the maven pom XML?
On 4/10/20 1:39 AM, Emilian Bold wrote:

Interesting. I think there's a whitelist of schema URLs in NetBeans

and they have the original http variant. Please report this on JIRA,

somebody might pick it up for 12 (which would be the next LTS

version).



--emi



On Fri, Apr 10, 2020 at 3:25 AM Philip Durbin 
 wrote:



I see what happened. In a recent pull request* we changed "http" to "https" in 
our pom.xml like this:



BEFORE

http://maven.apache.org/POM/4.0.0;

AFTER

https://maven.apache.org/POM/4.0.0;



If I revert "https" back to "http" I can open the project properties.



Phil



* https://github.com/IQSS/dataverse/pull/6519







On Thu, Apr 9, 2020 at 3:17 PM Philip Durbin 
 wrote:



Hi, we are seeing the following error in Netbeans 11.3 and earlier versions 
such as Netbeans 8.2 even though our pom.xml is valid (I used xmllint to check 
it and others on my team used other validators):



"Project's pom.xml contains invalid xml content. Please fix the file before 
proceeding."



I'll also attach a screenshot.



What I'm trying to do is right click the Java EE project and open the 
properties.



Here's the commit I'm on: 
https://github.com/IQSS/dataverse/blob/d04d09c3e8d66295dc12e25f676a04a44b69acd6/pom.xml



Any advice is welcome!



Phil



-

To unsubscribe, e-mail: 
users-unsubscr...@netbeans.apache.org

For additional commands, e-mail: 
users-h...@netbeans.apache.org



For further information about the NetBeans mailing lists, visit:

https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Git status difference between build and command line

2020-04-11 Thread George Brooks
 IDE log shows "org.eclipse.jgit [5.5.0 5.5.0.201909110433-r]", so I assume
my situation matches.

George

On Sat, Apr 11, 2020 at 1:27 AM Peter Hull  wrote:

> Hi George,
> I think it is this: https://issues.apache.org/jira/browse/NETBEANS-4005
> Can you see if that matches up to your situation?
> Pete
>
> On Thu, 9 Apr 2020 at 16:24, George Brooks 
> wrote:
> >
> > A PHP project in Netbeans 11.1 shows git status as "- nothing to commit,
> working directory clean". After building
> NetBeans-dev-20200408-f9b9f0698fa3-release, Netbeans Team->Diff->Diff to
> HEAD shows a set of files claimed to be modified. At the command line,
> however, git status continues to show "- nothing to commit, working
> directory clean."
> >
> > System is Windows 10, build 18363.720. Build created in a Ubuntu 18 VM,
> openjdk 11.0.6.
> >
> > Is this a bug or a configuration error on my part?
> >
> > g
>


-- 
George W Brooks
Truckee Solutions
530.414.5919


Re: Git status difference between build and command line

2020-04-11 Thread Peter Hull
Hi George,
I think it is this: https://issues.apache.org/jira/browse/NETBEANS-4005
Can you see if that matches up to your situation?
Pete

On Thu, 9 Apr 2020 at 16:24, George Brooks  wrote:
>
> A PHP project in Netbeans 11.1 shows git status as "- nothing to commit, 
> working directory clean". After building 
> NetBeans-dev-20200408-f9b9f0698fa3-release, Netbeans Team->Diff->Diff to HEAD 
> shows a set of files claimed to be modified. At the command line, however, 
> git status continues to show "- nothing to commit, working directory clean."
>
> System is Windows 10, build 18363.720. Build created in a Ubuntu 18 VM, 
> openjdk 11.0.6.
>
> Is this a bug or a configuration error on my part?
>
> g

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists