You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2004/12/07 19:45:09 UTC

[jira] Resolved: (XERCESJ-1034) XIncludeHandler uses default parser configuration for included files

     [ http://nagoya.apache.org/jira/browse/XERCESJ-1034?page=history ]
     
Michael Glavassevich resolved XERCESJ-1034:
-------------------------------------------

    Resolution: Invalid

XIncludeHandler is only used by the XIncludeParserConfiguration. The config in XInculdeHandler is internal and not meant to be configurable. The fact that there are multiple parsers is just an artifact of the design.

> XIncludeHandler uses default parser configuration for included files
> --------------------------------------------------------------------
>
>          Key: XERCESJ-1034
>          URL: http://nagoya.apache.org/jira/browse/XERCESJ-1034
>      Project: Xerces2-J
>         Type: Bug
>   Components: XInclude 1.0
>     Versions: 2.6.2
>     Reporter: Erik Bruchez

>
> In XIncludeHandler, find the line:
> String parserName = XINCLUDE_DEFAULT_CONFIGURATION;
> If you specified a different parser configuration using the property org.apache.xerces.xni.parser.XMLParserConfiguration, it is not taken into account for included files.
> I suggest the following patch:
> String parserName = System.getProperty("org.apache.xerces.xni.parser.XMLParserConfiguration");
> if (parserName == null)
>     parserName = XINCLUDE_DEFAULT_CONFIGURATION;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org