Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ipe generates xml documents not complying with ipe.dtd #67

Closed
pierreganty opened this issue Apr 28, 2016 · 6 comments
Closed

Ipe generates xml documents not complying with ipe.dtd #67

pierreganty opened this issue Apr 28, 2016 · 6 comments
Assignees

Comments

@pierreganty
Copy link

pierreganty commented Apr 28, 2016

I ran xmlstarlet using ipe.dtd on an ipe document with notes.

/opt/homebrew-cask/Caskroom/ipe/7.2.2 $ xml val -d ./Ipe.app/Contents/SharedSupport/doc/ipe.dtd -e ~/Documents/talks/keynote-micw.ipe

The ouput includes:
keynote-micw.ipe:22580.0: Element page content does not follow the DTD, expectin g (layer* , view* , (group | image | use | text | path)*), got (notes layer layer view image text text text text path path path )
...
~/Documents/talks/keynote-micw.ipe:22581.0: No declaration for element notes

@otfried otfried self-assigned this May 29, 2016
@otfried
Copy link
Owner

otfried commented Jun 15, 2016

Thanks for reminding me (and testing the DTD in the first place).

I was not very good in updating the DTD as nobody ever seemed to use it. I went through it now and synchronized the manual and the DTD with the code, so it should work correct starting with the version in the next release (7.2.4).

@otfried otfried closed this as completed Jun 15, 2016
@pierreganty
Copy link
Author

I just ran it again with 7.2.24 on one presentation and I got the following error message:

No declaration for attribute stroke-opacity of element path

@otfried
Copy link
Owner

otfried commented Jul 21, 2021

Thanks! I keep forgetting updating the dtd when I change the file format.

I should really add running validation on all my test files during a release.

@otfried otfried reopened this Jul 21, 2021
@otfried otfried closed this as completed Jan 23, 2022
@pierreganty
Copy link
Author

I keep getting the same error as reported above:

No declaration for attribute stroke-opacity of element path

In addition I have also:

No declaration for attribute opacity of element image

@otfried otfried reopened this Dec 28, 2022
@otfried
Copy link
Owner

otfried commented Dec 28, 2022

Can you try this one?

ipe-dtd.zip

I also need to update the manual, actually...

@pierreganty
Copy link
Author

Works for the two problematic files I had. Thank you

@otfried otfried closed this as completed May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants