-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Peachpie.Library.XmlDom.XMLWriter: Error writing namespace attribute 'xmlns' #1142
Comments
C# test Peachpie.Library.XmlDom.XMLWriter
|
Solve the program segment with special attribute name "xmlns" in C#
The result of running the program is:
Or use XmlTextWriter to solve this problem
|
Do you think it's compatible with |
XmlTextWriter inherits from XmlWriter and can be replaced by XmlTextWriter. However, there is a small problem that the XmlWriterSettings class cannot be injected. Let me try and see if there is a way to solve it? |
I see! the missing XmlSettings might be a problem :/ |
wujwmail
added a commit
to wujwmail/phpcs_core
that referenced
this issue
May 14, 2024
This problem has been solved using XmlTextWriter! For details, see: #1140 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running error message:
PHPExcel source code (PHPExcel-1.8.1): https://github.com/PHPOffice/PHPExcel
\PHPExcelPhpCsLib\PHPExcel\Writer\Excel2007\ContentTypes.php:line 61
This statement seems to be wrong:
demo download -> https://github.com/wujwmail/PHPExcel_test/tree/master
A php example for testing writeAttribute
The text was updated successfully, but these errors were encountered: