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 "Eric Isakson (JIRA)" <xe...@xml.apache.org> on 2005/02/14 18:51:12 UTC

[jira] Created: (XERCESJ-1044) Scoped namespace bindings not looked up properly

Scoped namespace bindings not looked up properly
------------------------------------------------

         Key: XERCESJ-1044
         URL: http://issues.apache.org/jira/browse/XERCESJ-1044
     Project: Xerces2-J
        Type: Bug
  Components: XInclude 1.0  
    Versions: 2.6.2    
    Reporter: Eric Isakson
 Attachments: multipleScopeNamespaceProblemFix.patch.diff, multipleScopeNamespaceProblemTest.patch.diff

When processing nested xincluded content which has some context other 0, namepace lookup is incorrect which results in fatal errors during a parse like:

The prefix "xi" for element "xi:include" is not bound.

I'm attaching a patch for a new test case of xinclude.Test which demonstrates this problem and another patch which fixes it.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.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


[jira] Updated: (XERCESJ-1044) Scoped namespace bindings not looked up properly

Posted by "Eric Isakson (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESJ-1044?page=history ]

Eric Isakson updated XERCESJ-1044:
----------------------------------

    Attachment: multipleScopeNamespaceProblemFix.patch.diff

patch against src which fixes the reported problem

> Scoped namespace bindings not looked up properly
> ------------------------------------------------
>
>          Key: XERCESJ-1044
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1044
>      Project: Xerces2-J
>         Type: Bug
>   Components: XInclude 1.0
>     Versions: 2.6.2
>     Reporter: Eric Isakson
>  Attachments: multipleScopeNamespaceProblemFix.patch.diff, multipleScopeNamespaceProblemTest.patch.diff
>
> When processing nested xincluded content which has some context other 0, namepace lookup is incorrect which results in fatal errors during a parse like:
> The prefix "xi" for element "xi:include" is not bound.
> I'm attaching a patch for a new test case of xinclude.Test which demonstrates this problem and another patch which fixes it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.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


[jira] Commented: (XERCESJ-1044) Scoped namespace bindings not looked up properly

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESJ-1044?page=comments#action_59215 ]
     
Michael Glavassevich commented on XERCESJ-1044:
-----------------------------------------------

Hello Eric, I could not find a Contributor License Agreement (CLA) on file [1] for you. Could you please answer the contributor questions as defined by section 7.3 of the Xerces Charter, available here [2]. We require this information to accept bug fixes from individuals who have not signed a CLA.

Sorry for the hassle. The questions/answers can just be added to this bug report.

[1] http://www.apache.org/~jim/committers.html
[2] http://mail-archives.apache.org/eyebrowse/ReadMsg?listName=xerces-j-dev@xml.apache.org&msgNo=4770

> Scoped namespace bindings not looked up properly
> ------------------------------------------------
>
>          Key: XERCESJ-1044
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1044
>      Project: Xerces2-J
>         Type: Bug
>   Components: XInclude 1.0
>     Versions: 2.6.2
>     Reporter: Eric Isakson
>  Attachments: multipleScopeNamespaceProblemFix.patch.diff, multipleScopeNamespaceProblemTest.patch.diff
>
> When processing nested xincluded content which has some context other 0, namepace lookup is incorrect which results in fatal errors during a parse like:
> The prefix "xi" for element "xi:include" is not bound.
> I'm attaching a patch for a new test case of xinclude.Test which demonstrates this problem and another patch which fixes it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.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


[jira] Resolved: (XERCESJ-1044) Scoped namespace bindings not looked up properly

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESJ-1044?page=history ]
     
Michael Glavassevich resolved XERCESJ-1044:
-------------------------------------------

    Resolution: Fixed

Thanks Eric. I've committed your fix to CVS. There were similar problems with three other methods. I've fixed those as well.

> Scoped namespace bindings not looked up properly
> ------------------------------------------------
>
>          Key: XERCESJ-1044
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1044
>      Project: Xerces2-J
>         Type: Bug
>   Components: XInclude 1.0
>     Versions: 2.6.2
>     Reporter: Eric Isakson
>     Assignee: Michael Glavassevich
>  Attachments: multipleScopeNamespaceProblemFix.patch.diff, multipleScopeNamespaceProblemTest.patch.diff
>
> When processing nested xincluded content which has some context other 0, namepace lookup is incorrect which results in fatal errors during a parse like:
> The prefix "xi" for element "xi:include" is not bound.
> I'm attaching a patch for a new test case of xinclude.Test which demonstrates this problem and another patch which fixes it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.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


[jira] Commented: (XERCESJ-1044) Scoped namespace bindings not looked up properly

Posted by "Eric Isakson (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESJ-1044?page=comments#action_59273 ]
     
Eric Isakson commented on XERCESJ-1044:
---------------------------------------

a) Name and employer 
Eric Isakson
SAS Institute Inc., Cary, NC 27513
b) Are you the author of the code being conributed? 
Yes
c) Do you have the right to grant the copyright and patent 
   licenses for the contribution that are set forth in the ASF v.2.0 
   license (http://www.apache.org/licenses/LICENSE-2.0)?
Yes
d) Does your employer have any rights to code that you have 
   written, for example, through your contract for employment?  If 
   so, has your employer given you permission to contribute the code 
   on its behalf or waived its rights in the code? 
Yes and Yes
e) Are you aware of any third-party licenses or other 
   restrictions (such as related patents or trademarks) that could 
   apply to your contribution?  If so, what are they?
No


> Scoped namespace bindings not looked up properly
> ------------------------------------------------
>
>          Key: XERCESJ-1044
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1044
>      Project: Xerces2-J
>         Type: Bug
>   Components: XInclude 1.0
>     Versions: 2.6.2
>     Reporter: Eric Isakson
>  Attachments: multipleScopeNamespaceProblemFix.patch.diff, multipleScopeNamespaceProblemTest.patch.diff
>
> When processing nested xincluded content which has some context other 0, namepace lookup is incorrect which results in fatal errors during a parse like:
> The prefix "xi" for element "xi:include" is not bound.
> I'm attaching a patch for a new test case of xinclude.Test which demonstrates this problem and another patch which fixes it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.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


[jira] Commented: (XERCESJ-1044) Scoped namespace bindings not looked up properly

Posted by "Eric Isakson (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESJ-1044?page=comments#action_59156 ]
     
Eric Isakson commented on XERCESJ-1044:
---------------------------------------

as a work around in 2.6.2 and earlier versions, you can just declare the xinclude namespace on your root element.

> Scoped namespace bindings not looked up properly
> ------------------------------------------------
>
>          Key: XERCESJ-1044
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1044
>      Project: Xerces2-J
>         Type: Bug
>   Components: XInclude 1.0
>     Versions: 2.6.2
>     Reporter: Eric Isakson
>  Attachments: multipleScopeNamespaceProblemFix.patch.diff, multipleScopeNamespaceProblemTest.patch.diff
>
> When processing nested xincluded content which has some context other 0, namepace lookup is incorrect which results in fatal errors during a parse like:
> The prefix "xi" for element "xi:include" is not bound.
> I'm attaching a patch for a new test case of xinclude.Test which demonstrates this problem and another patch which fixes it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.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


[jira] Updated: (XERCESJ-1044) Scoped namespace bindings not looked up properly

Posted by "Eric Isakson (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESJ-1044?page=history ]

Eric Isakson updated XERCESJ-1044:
----------------------------------

    Attachment: multipleScopeNamespaceProblemTest.patch.diff

patch to the tests directory with a new test which demonstrates the reported problem.

> Scoped namespace bindings not looked up properly
> ------------------------------------------------
>
>          Key: XERCESJ-1044
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1044
>      Project: Xerces2-J
>         Type: Bug
>   Components: XInclude 1.0
>     Versions: 2.6.2
>     Reporter: Eric Isakson
>  Attachments: multipleScopeNamespaceProblemFix.patch.diff, multipleScopeNamespaceProblemTest.patch.diff
>
> When processing nested xincluded content which has some context other 0, namepace lookup is incorrect which results in fatal errors during a parse like:
> The prefix "xi" for element "xi:include" is not bound.
> I'm attaching a patch for a new test case of xinclude.Test which demonstrates this problem and another patch which fixes it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.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


[jira] Assigned: (XERCESJ-1044) Scoped namespace bindings not looked up properly

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESJ-1044?page=history ]

Michael Glavassevich reassigned XERCESJ-1044:
---------------------------------------------

    Assign To: Michael Glavassevich

> Scoped namespace bindings not looked up properly
> ------------------------------------------------
>
>          Key: XERCESJ-1044
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1044
>      Project: Xerces2-J
>         Type: Bug
>   Components: XInclude 1.0
>     Versions: 2.6.2
>     Reporter: Eric Isakson
>     Assignee: Michael Glavassevich
>  Attachments: multipleScopeNamespaceProblemFix.patch.diff, multipleScopeNamespaceProblemTest.patch.diff
>
> When processing nested xincluded content which has some context other 0, namepace lookup is incorrect which results in fatal errors during a parse like:
> The prefix "xi" for element "xi:include" is not bound.
> I'm attaching a patch for a new test case of xinclude.Test which demonstrates this problem and another patch which fixes it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.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