You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2022/12/17 11:27:03 UTC

[Bug 66394] New: Implement validator

https://bz.apache.org/bugzilla/show_bug.cgi?id=66394

            Bug ID: 66394
           Summary: Implement validator
           Product: POI
           Version: 5.2.2-FINAL
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: assk@sa.dk
  Target Milestone: ---

Open XML SDK has a validator component, so you can check if your word,
spreadsheet or presentation file is valid according to the standard.

Open XML SDK is however in C# language.

Apache POI is the Java equivalent and it seems to be missing a validator
component to support the full data lifecycle from creation to either deletion
or archiving (you have to validate before you can archive), if you want to
archive the functionality of the data instead of making a static image file,
which would only preserve information.

I file this has an enhancement.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 66394] Implement validator

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66394

--- Comment #2 from PJ Fanning <fa...@yahoo.com> ---
In a Microservices architecture, you can run some services in .NET and some in
Java - so you could have a web service that uses Open XML SDK to validate files
- while also having Java based web services that use POI if that's what is
needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 66394] Implement validator

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66394

--- Comment #3 from sfisque@gmail.com ---
depending on their pipeline, it should be possible to wrap the binary with a
JNI call interface if it needs to be embedded in a java execution context.

additionally, C# and java are close enough that porting the lib (if the OP has
the resources to do such) should be "non-terrible"

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: [Bug 66394] Implement validator

Posted by Kamal Chandrashekar <sa...@gmail.com>.
What is your requirement i do not understand?.

Best Regards,
Kamal.C

On Sat, 17 Dec 2022 at 17:34, <bu...@apache.org> wrote:

> https://bz.apache.org/bugzilla/show_bug.cgi?id=66394
>
> --- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
> I'm afraid that noone is likely to volunteer to write this. POI is not the
> Java
> equivalent of Open XML SDK. POI is an OSS volunteer project. Open XML SDK
> appears to be built by Microsoft employees who are paid for the work they
> do.
> Possibly, you might be better off asking Microsoft to create a Java
> version of
> Open XML SDK.
>
> With POI, all you can so is to use one of the existing APIs to parse the
> file
> and see if there are any exceptions.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>
>

[Bug 66394] Implement validator

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66394

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
I'm afraid that noone is likely to volunteer to write this. POI is not the Java
equivalent of Open XML SDK. POI is an OSS volunteer project. Open XML SDK
appears to be built by Microsoft employees who are paid for the work they do.
Possibly, you might be better off asking Microsoft to create a Java version of
Open XML SDK.

With POI, all you can so is to use one of the existing APIs to parse the file
and see if there are any exceptions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org