Re: Grammar caching with multiple schemas for the same target namespace

2017-01-31 Thread Patrik Stellmann
ation/SoftReferenceGrammarPool.java Michael Glavassevich XML Technologies and WAS Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org Patrik Stellmann wrote on 01/22/2017 02:04:11 AM: > Hi, > > I'm recursively processing DITA maps using the SAXParser with &g

Grammar caching with multiple schemas for the same target namespace

2017-01-21 Thread Patrik Stellmann
Hi, I'm recursively processing DITA maps using the SAXParser with XMLGrammarPool. All files are in the default namespace but have different XML schemas associated (set my @xsi:noNamespaceSchemaLocation). The problem is that the XMLGrammarPool as well as the SAXParser assumes that the schema

Re: Missing namespace for attribute defaults from SAXParser

2016-12-09 Thread Patrik Stellmann
E-mail: mrgla...@apache.org Patrik Stellmann wrote on 12/09/2016 04:09:46 AM: > Hi, > > I'm using org.apache.xerces.parsers.SAXParser and when parsing a file > with assigned XSD the added default attributes are missing the namespace > prefix. > > The attribute tha

Missing namespace for attribute defaults from SAXParser

2016-12-09 Thread Patrik Stellmann
Hi, I'm using org.apache.xerces.parsers.SAXParser and when parsing a file with assigned XSD the added default attributes are missing the namespace prefix. The attribute that I have set explicitly is serialized correctly. Ths, I'm pretty sure it is a parser issue. I've added a minimal sampl