Re: RFR: 8276657: XSLT compilter tries to define a class with empty name

2021-11-30 Thread Joe Wang
On Tue, 30 Nov 2021 18:53:26 GMT, Joe Wang wrote: > The result of Util.baseName(systemId) can be empty, causing the compiler to > set an empty classname. Add a check to make sure it will not set the empty > classname. > > Alternatively, it may report an error, but that would be disruptive. As

Re: RFR: 8276657: XSLT compilter tries to define a class with empty name [v2]

2021-11-30 Thread Joe Wang
> The result of Util.baseName(systemId) can be empty, causing the compiler to > set an empty classname. Add a check to make sure it will not set the empty > classname. > > Alternatively, it may report an error, but that would be disruptive. As the > transform can proceed without the provided cl

Re: RFR: 8276657: XSLT compilter tries to define a class with empty name

2021-11-30 Thread Naoto Sato
On Tue, 30 Nov 2021 18:53:26 GMT, Joe Wang wrote: > The result of Util.baseName(systemId) can be empty, causing the compiler to > set an empty classname. Add a check to make sure it will not set the empty > classname. > > Alternatively, it may report an error, but that would be disruptive. As

RFR: 8276657: XSLT compilter tries to define a class with empty name

2021-11-30 Thread Joe Wang
The result of Util.baseName(systemId) can be empty, causing the compiler to set an empty classname. Add a check to make sure it will not set the empty classname. Alternatively, it may report an error, but that would be disruptive. As the transform can proceed without the provided classname (by