-
Notifications
You must be signed in to change notification settings - Fork 72
Description
0.1b15 버전에서 실행했으나, 아래와 같은 에러가 발생합니다.
hwp5odt --version
hwp5odt 0.1b15
hwp5odt ABC.hwp
:2:0:ERROR:RELAXNGV:RELAXNG_ERR_EXTRACONTENT: Element p has extra content: rect
Traceback (most recent call last):
File "/usr/local/bin/hwp5odt", line 11, in
load_entry_point('pyhwp==0.1b15', 'console_scripts', 'hwp5odt')()
File "/usr/local/lib/python3.6/site-packages/hwp5/hwp5odt.py", line 365, in main
transform(hwp5file, dest)
File "/usr/local/lib/python3.6/site-packages/hwp5/hwp5odt.py", line 143, in transform_hwp5_to_package
self.transform_xhwp5_into_package(xml_path, odtpkg)
File "/usr/local/lib/python3.6/site-packages/hwp5/hwp5odt.py", line 189, in transform
with self.transformed_content_at_temp(xhwp5path) as path:
File "/usr/lib64/python3.6/contextlib.py", line 81, in enter
return next(self.gen)
File "/usr/local/lib/python3.6/site-packages/hwp5/hwp5odt.py", line 238, in transformed_at_temp_path
transform(inp_path, f)
File "/usr/local/lib/python3.6/site-packages/hwp5/hwp5odt.py", line 229, in validating_transform
transform(input, output)
File "/usr/lib64/python3.6/contextlib.py", line 88, in exit
next(self.gen)
File "/usr/local/lib/python3.6/site-packages/hwp5/plat/_lxml.py", line 146, in validating_output
raise ValidationFailed('RelaxNG')
hwp5.errors.ValidationFailed: RelaxNG