You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Paul Golick (JIRA)" <tu...@ws.apache.org> on 2007/02/08 21:42:05 UTC

[jira] Created: (TUSCANY-1099) fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users

fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users
---------------------------------------------------------------------------------------

                 Key: TUSCANY-1099
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1099
             Project: Tuscany
          Issue Type: Bug
          Components: Java SDO Implementation
    Affects Versions: Java-SDO-Mx
         Environment: Java 1.4.2
            Reporter: Paul Golick
             Fix For: Java-SDO-Mx


mvn build ends with message:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
C:\Tuscany\java505002\sdo\impl\src\main\java\org\apache\tuscany\sdo\helper\SDOXS
DEcoreBuilder.java:[71,50] cannot resolve symbol
symbol  : method lookupPrefix (java.lang.String)
location: interface org.w3c.dom.Element

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1099) fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472743 ] 

Paul Golick commented on TUSCANY-1099:
--------------------------------------

After applying the patch, my tests using Java 1.4.2 pass.  Thank you.

> fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1099
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1099
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>         Environment: Java 1.4.2
>            Reporter: Paul Golick
>             Fix For: Java-SDO-Mx
>
>         Attachments: SDOXSDEcoreBuilder.1099
>
>
> mvn build ends with message:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\Tuscany\java505002\sdo\impl\src\main\java\org\apache\tuscany\sdo\helper\SDOXS
> DEcoreBuilder.java:[71,50] cannot resolve symbol
> symbol  : method lookupPrefix (java.lang.String)
> location: interface org.w3c.dom.Element

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1099) fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473776 ] 

Yang ZHONG commented on TUSCANY-1099:
-------------------------------------

Thanks to Kelvin to change the comment from
    "Node#lookupPrefix is only available since DOM Level 3 (Java 5)"
to something like
    "Node#lookupPrefix is only available since DOM Level 3 (Java 5), and it doesn't return rebound prefix. XSDConstants.lookupQualifier isn't supposed to return rebound prefix either. This lookupPrefix returns any bound prefix no matter rebound to other NameSpace or not, for {@link #getEPackage}."

> fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1099
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1099
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>         Environment: Java 1.4.2
>            Reporter: Paul Golick
>             Fix For: Java-SDO-Mx
>
>         Attachments: SDOXSDEcoreBuilder.1099
>
>
> mvn build ends with message:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\Tuscany\java505002\sdo\impl\src\main\java\org\apache\tuscany\sdo\helper\SDOXS
> DEcoreBuilder.java:[71,50] cannot resolve symbol
> symbol  : method lookupPrefix (java.lang.String)
> location: interface org.w3c.dom.Element

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1099) fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson resolved TUSCANY-1099.
-------------------------------------

    Resolution: Fixed

Patch tested on IBM JDK 1.4.2 windows and linux.  Both runs now compile after this fix.  One test failure ensues,  but not related to this fix,  hence I have raised TUSCANY-1122


> fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1099
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1099
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>         Environment: Java 1.4.2
>            Reporter: Paul Golick
>             Fix For: Java-SDO-Mx
>
>         Attachments: SDOXSDEcoreBuilder.1099
>
>
> mvn build ends with message:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\Tuscany\java505002\sdo\impl\src\main\java\org\apache\tuscany\sdo\helper\SDOXS
> DEcoreBuilder.java:[71,50] cannot resolve symbol
> symbol  : method lookupPrefix (java.lang.String)
> location: interface org.w3c.dom.Element

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1099) fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yang ZHONG updated TUSCANY-1099:
--------------------------------

    Attachment: SDOXSDEcoreBuilder.1099

The patch has passed all build tests.

> fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1099
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1099
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>         Environment: Java 1.4.2
>            Reporter: Paul Golick
>             Fix For: Java-SDO-Mx
>
>         Attachments: SDOXSDEcoreBuilder.1099
>
>
> mvn build ends with message:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\Tuscany\java505002\sdo\impl\src\main\java\org\apache\tuscany\sdo\helper\SDOXS
> DEcoreBuilder.java:[71,50] cannot resolve symbol
> symbol  : method lookupPrefix (java.lang.String)
> location: interface org.w3c.dom.Element

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-1099) fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Golick closed TUSCANY-1099.
--------------------------------


> fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1099
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1099
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>         Environment: Java 1.4.2
>            Reporter: Paul Golick
>             Fix For: Java-SDO-beta1
>
>         Attachments: SDOXSDEcoreBuilder.1099
>
>
> mvn build ends with message:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\Tuscany\java505002\sdo\impl\src\main\java\org\apache\tuscany\sdo\helper\SDOXS
> DEcoreBuilder.java:[71,50] cannot resolve symbol
> symbol  : method lookupPrefix (java.lang.String)
> location: interface org.w3c.dom.Element

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1099) fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474559 ] 

Paul Golick commented on TUSCANY-1099:
--------------------------------------

I have verified this issue is fixed in revision 509219.  Please close this issue.

> fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1099
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1099
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>         Environment: Java 1.4.2
>            Reporter: Paul Golick
>             Fix For: Java-SDO-Mx
>
>         Attachments: SDOXSDEcoreBuilder.1099
>
>
> mvn build ends with message:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\Tuscany\java505002\sdo\impl\src\main\java\org\apache\tuscany\sdo\helper\SDOXS
> DEcoreBuilder.java:[71,50] cannot resolve symbol
> symbol  : method lookupPrefix (java.lang.String)
> location: interface org.w3c.dom.Element

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1099) fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473199 ] 

Frank Budinsky commented on TUSCANY-1099:
-----------------------------------------

Yang, I don't think we want to add this lookupPrefix method in Tuscany. I think you can use XSDConstants.lookupQualifier() for this.

> fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1099
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1099
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>         Environment: Java 1.4.2
>            Reporter: Paul Golick
>             Fix For: Java-SDO-Mx
>
>         Attachments: SDOXSDEcoreBuilder.1099
>
>
> mvn build ends with message:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\Tuscany\java505002\sdo\impl\src\main\java\org\apache\tuscany\sdo\helper\SDOXS
> DEcoreBuilder.java:[71,50] cannot resolve symbol
> symbol  : method lookupPrefix (java.lang.String)
> location: interface org.w3c.dom.Element

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1099) fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-1099:
------------------------------------

    Fix Version/s:     (was: Java-SDO-Mx)
                   Java-SDO-M3

> fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1099
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1099
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>         Environment: Java 1.4.2
>            Reporter: Paul Golick
>             Fix For: Java-SDO-M3
>
>         Attachments: SDOXSDEcoreBuilder.1099
>
>
> mvn build ends with message:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\Tuscany\java505002\sdo\impl\src\main\java\org\apache\tuscany\sdo\helper\SDOXS
> DEcoreBuilder.java:[71,50] cannot resolve symbol
> symbol  : method lookupPrefix (java.lang.String)
> location: interface org.w3c.dom.Element

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1099) fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473238 ] 

Yang ZHONG commented on TUSCANY-1099:
-------------------------------------

XSDConstants.lookupQualifier is a nice substitution for Node#lookupPrefix before which is available. Thanks to Frank.

However, the attached lookupPrefix serves its special purpose; it can't be simply replaced by Node#lookupPrefix even if moved to DOM level 3 (Java 5).

The attached lookupPrefix returns prefix even if which is rebound to different NameSpace already.

Node#lookupPrefix doesn't return rebound prefix, neither should XSDConstants.lookupQualifier.
It's interesting that current XSDConstants.lookupQualifier does return rebound prefix which is a bug tracked by:
    http://issues.apache.org/jira/browse/TUSCANY-1115

If interested, here's an example of rebinding prefix:
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:p="boundNS">
        <complexType xmlns:p="differentNS"
which is also available at:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=174236

> fix for TUSCANY-1083 used lookupPrefix method of Node not available to Java 1.4.2 users
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1099
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1099
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>         Environment: Java 1.4.2
>            Reporter: Paul Golick
>             Fix For: Java-SDO-Mx
>
>         Attachments: SDOXSDEcoreBuilder.1099
>
>
> mvn build ends with message:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\Tuscany\java505002\sdo\impl\src\main\java\org\apache\tuscany\sdo\helper\SDOXS
> DEcoreBuilder.java:[71,50] cannot resolve symbol
> symbol  : method lookupPrefix (java.lang.String)
> location: interface org.w3c.dom.Element

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org