anqitong / LangageDessinVectoriel

1 stars 2 forks source link

Add option to transform a svg file into a java object #58

Closed Thomas-dot-G closed 8 years ago

starsasumi commented 8 years ago

To implement this, I think it's fare for us to add a XML library?

anqitong commented 8 years ago

I'm not sure it is authroized, but we can send him an email to make sure we can. Because in the subject it is not really written : http://www.grall.name/teaching/softwareArchitecture/2016/project_vectorGraphics.html Would you like me to send an email?

starsasumi commented 8 years ago

Let me explore the official xml support in Java SDK first. Maybe it's enough to solve this with the SDK 🤔

Thomas-dot-G commented 8 years ago

Even if not robust, it would not be difficult to do it ourself. If needed I can do it !

starsasumi commented 8 years ago

I believed there are some basic xml support in Java SDK that we could use. @Thomas-dot-G you can find them in 'javax.xml' package

Thomas-dot-G commented 8 years ago

Maybe, but that means you would rather use some support than just do it ourselves ?

anqitong commented 8 years ago

If it is authorized, it would be mre efficient.

Thomas-dot-G commented 8 years ago

JAXB?

starsasumi commented 8 years ago

We use javax.xml to transform pure text to xml elements and than analyze them and create the java object we want. Because text analyzing is too heavy for this project. (a robust lexical analyzer itself would already enough to be a school project)

starsasumi commented 8 years ago

I think I would work on this this week.