bugGNU Octave - Bugs: bug #46288, xmlwrite -...

 
 

bug #46288: xmlwrite - "com.mathworks.xml.XMLUtils" object

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Sun 25 Oct 2015 08:13:11 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 25 Oct 2015 07:33:54 PM UTC, comment #4:

I am closing this report so that we discuss xmlread/write and those matlab utilities issue in bug #45951.

Pantxo Diribarne <pantxo>
Project Member
Sun 25 Oct 2015 06:00:19 PM UTC, comment #3:

Thanks Pantxo. It makes a lot more sense now! xx

Ceral Paquet <octavebugs>
Sun 25 Oct 2015 04:02:30 PM UTC, comment #2:

I forgot, those Matlab Java classes are IMHO out of the scope of Octave/Matlab compatibility as they are mostly Matlab internals (undocumented).

Pantxo Diribarne <pantxo>
Project Member
Sun 25 Oct 2015 03:33:39 PM UTC, comment #1:

Hi,

See bug #45951 and patches there in. In the demo of xmlwrite, you'll see how to instantiate a DOM document using Xerces.
The Matlab class you mention doesn't seam to do more than the 2 lines bellow:

May I close this report and let discussions take place in bug #45951 ?

Pantxo Diribarne <pantxo>
Project Member
Sun 25 Oct 2015 08:13:11 AM UTC, original submission:

The example on Matlab's website for xmlwrite givn here:

http://fr.mathworks.com/help/matlab/ref/xmlwrite.html

contains the following line.

docNode = com.mathworks.xml.XMLUtils.createDocument('root_element')

I have no idea what this is! Nevertheless it "works" in Matlab but not in Octave. Unfortunately I have been given a script that uses this construct so I suppose it is missing functionality?!

Ceral Paquet <octavebugs>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by octavebugs (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 25 Oct 2015 07:33:54 PM UTCpantxoStatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1