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

ExpandEmptyElements has no affect #167

Open
dmostert-gresham opened this issue Aug 25, 2023 · 0 comments
Open

ExpandEmptyElements has no affect #167

dmostert-gresham opened this issue Aug 25, 2023 · 0 comments

Comments

@dmostert-gresham
Copy link

Inside XMLWriter.endElement(String namespaceURI, String localName, String qName) we have

...
            // XXXX: need to determine this using a stack and checking for
            // content / children
            boolean hadContent = true;

            if (hadContent) {
                writeClose(qName); **<-- this will always be called**
            } else {
                writeEmptyElementClose(qName);
            }
...

We are using XMLWriter as Content and Lexical handler to marshall data to XML and needs this to be implemented so expandEmptyElements actually has can have an affect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant